This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
JavaScript Function On Submit?
Started 15 years ago by KnockOuts | 4 posts |
-
Hi,
I have a form that is embed in a hidden panel that is activated with a trigger- I'd like to add an event to a form that is in the sliding panel that closes the panel on delay after the form is submitted.
So, when the user submits the form and is successful- the panel slides close after showing the success message for a second.
Thanks
Posted 15 years ago # -
Hmm.. I think you can insert your javascript code into your form success message. It accepts any valid HTML or javascript code.
Or you can also redirect your form success page into your custom page, then put your javascript code into your custom page.
MachForm Founder
Posted 15 years ago # -
I can't get the Javascript to fire from the success message. I've tried multiple ways- the action needs to happen directly on the page, not on a new page.
Thanks
Posted 15 years ago # -
Can you let me know the URL to your form so I can check your javascript?
MachForm Founder
Posted 15 years ago #
Reply
You must log in to post.