Forked from danieliser/open-popup-after-ninja-form-submission.js
Created
September 22, 2016 21:56
-
-
Save lukecav/268f8d858c9cd11a2841b087119d478d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| jQuery('.ninja-forms-form').on('submitResponse', function(e, response) { | |
| var $popup = jQuery('#pum-123'), | |
| errors = response.errors; | |
| if (errors === false) { | |
| $popup.popmake('open'); | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment