danieliser
8/26/2016 - 7:15 PM

open-popup-after-ninja-form-submission.js

jQuery('.ninja-forms-form').on('submitResponse', function(e, response) {
    var $popup = jQuery('#pum-123'),
	    errors = response.errors;
	
    if (errors === false) {
        $popup.popmake('open');
    }
});