Last active
October 11, 2015 05:48
-
-
Save bgriggs1/3813021 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// change view_1 to the view you want to listen to | |
$(document).on('knack-record-create.view_1', function(event, view, record) { | |
// handle record | |
// view is a json object of the form | |
// record is a json object of the record inserted by the view (form) | |
alert('created a new record for view: ' + view.key); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment