Is this what you are sort of after?
https://webbuildertemplates.com/demo/waiting
Change cursor state to waiting while form processing
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
-
-
- Posts: 191
- Joined: Mon May 13, 2019 9:15 pm
Re: Change cursor state to waiting while form processing
When on the submit button on the form is pressed yes, the form does do validation for required inputs though.
I used to have a photographic memory but i ran out of film !!!
Re: Change cursor state to waiting while form processing
My demo form doesn't do anything other than redirect to a success page. As long as it stays on the form page, the progress spinner will be seen until the redirect happens. However, if the validation is incorrect and stays on the page for the user to correct then the spinner will still be seen as the spinner is shown when the submit button is clicked. So technically, the spinner needs to be only shown AFTER validation occurs unless it is redirecting to the error page. This will be a bit more complicated then and I don't think can be done just by using a simple event.
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Change cursor state to waiting while form processing
Crispy
Thank you for offering this demo. I tried this by adding an event to my submit button and the spinner shows perfectly, however the form does not process and go to the success page with the event applied to the submit button. When I remove the event the form works fine. Any ideas why?
I notice you added the spinner in a layer. Is this required? I just added the spinner image by itself. Thank you
Thank you for offering this demo. I tried this by adding an event to my submit button and the spinner shows perfectly, however the form does not process and go to the success page with the event applied to the submit button. When I remove the event the form works fine. Any ideas why?
I notice you added the spinner in a layer. Is this required? I just added the spinner image by itself. Thank you
- protectourlands
-
- Posts: 428
- Joined: Sat May 24, 2008 2:16 am
- Contact:
Re: Change cursor state to waiting while form processing
OOOPS! Nevermind. Sorry, I just read Pablo's explanation that adding an event overides the submit function.
Works perfectly now. I added the javascript return true; per Pablo's directions. Thank you Crispy and Pablo!
Works perfectly now. I added the javascript return true; per Pablo's directions. Thank you Crispy and Pablo!