Form Success Message
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
Form Success Message
Hi there is there a way to just show a pop up success/Error msg when clicking submit button instead of taking the user to a different success/Error page? If so please explain how
Re: Form Success Message
There is no standard solution for this because PHP cannot trigger a popup directly.
But you can use events (onsubmit) to submit the form and then trigger a popup.
But you can use events (onsubmit) to submit the form and then trigger a popup.
Re: Form Success Message
Ok thank you!
- ruel.lago22
-
- Posts: 59
- Joined: Thu Feb 01, 2018 11:32 am
Re: Form Success Message
I don't find "onsubmit" in the events option. Plus it's impossible to trigger a popup because it will take you to the success/error page after submission or if no redirection set, it will just show you a blank page with the same URL. I was hoping to trigger next page on my carousel form after submission but it seems not to work
Re: Form Success Message
The onsubmit event is in the form's even list.
To display a popup you will have have to write a function that submits the form and then displays a popup.
https://blog.teamtreehouse.com/create-ajax-contact-form
To display a popup you will have have to write a function that submits the form and then displays a popup.
https://blog.teamtreehouse.com/create-ajax-contact-form