Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sweetalert and jQuery.validationEngine #385

Open
santo1227 opened this issue Jun 18, 2015 · 1 comment
Open

Sweetalert and jQuery.validationEngine #385

santo1227 opened this issue Jun 18, 2015 · 1 comment

Comments

@santo1227
Copy link

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

@t4t5
Copy link
Owner

t4t5 commented Sep 8, 2017

Could you try this with the latest 2.0 release and see if the problem persists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants