Open santo1227 opened 9 years ago
I have implemented Sweetalert on my jQuery.validationEngine but the button "Accept" of sweetalert doesn't run the "submit", What could add to make it work?
$(document).ready(function(){ $("#id_form").validationEngine('attach',{ onValidationComplete:function(form, status){ if (status === true){ if(swal({title: "Confirm text?",text: "Another Text",type: "warning",showCancelButton: true,confirmButtonColor: "#DD6B55",confirmButtonText: "Accept",cancelButtonText: "Cancel"closeOnConfirm: true,closeOnCancel: false})) { form.validationEngine('detach'); submit(); }}} }); })
Reference: jQuery-Validation-Engine
Could you try this with the latest 2.0 release and see if the problem persists?
I have implemented Sweetalert on my jQuery.validationEngine but the button "Accept" of sweetalert doesn't run the "submit", What could add to make it work?
Reference: jQuery-Validation-Engine