PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Modal confirmation before submit

  1. Hi.
    I would like to be able to have modal dialog that pops up with an option to accept or deny the submission of the form. My form is an ajax form.

    I have this piece of code that does this, however, the spinner is activated and the form is sort of inactivated after the user clicks cancel. Therefore, it is not possible to submit the form thereafter.

    jQuery('.pricebid-form').submit(function() {
    	var c = confirm("Click OK to continue?");
    	return c;
    });
    Posted 12 years ago on Tuesday July 24, 2012 | Permalink
  2. Do you have a URL where this is in use online? Thank you.

    Posted 12 years ago on Wednesday July 25, 2012 | Permalink
  3. Hi Chris.

    No, unfortunately not. But it is just a simple form, where when pressing the submit button, a popup should appear asking the user to confirm the submission of the form and the user should be able to confirm og cancel and continue to add input.

    Maybe this isn't possible to do on an ajax form?

    Posted 12 years ago on Wednesday July 25, 2012 | Permalink