Custom JavaScript on AJAX Submission Per Form
-
the following code:
jQuery(document).on('submitResponse.example', function( e, response ){ if ( response.errors == false ) { // Code to be fired upon a submission here } return true; });seems to work for all forms. if i have more than one form on a page is there a way to cater this code to one form id? i’m sending events via analytics and this one code for all forms isn’t allowing me to name events properly.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Custom JavaScript on AJAX Submission Per Form’ is closed to new replies.