Hello,

I'm trying to create a module that displays a "please wait" modal when the form is validated, valid, and submitted. My jQuery seems to fire before this module has a chance to validate so it displays the modal regardless of validation state. Is there a JS hook or function I can use to insure that it only fires when the form is validated by this module?

UPDATE: Figured it out. When I checked form.valid(), I always got 'true' on my multipage form. I had to specify which form in my selector for it to check the right form.

Thanks.

Comments

ashopin’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)