javascript - Gravity Form prevent page reload after submission -
i'm working wordpress gravity form plugin. loaded form jquery dialog , want have dialog close after form submission instead of reloading page.
however, don't know if possible add preventdefault() submit() event. or if there option not reload page in gravity form. please advise me possible way achieve it, thank you.
do have enable ajax options checked? (see http://www.gravityhelp.com/documentation/gravity-forms/user-guides/getting-started/embedding-a-form/) - submit form without page refresh.
then call dialog close in submit event , done!
Comments
Post a Comment