Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
07-18-2014, 10:09 PM #1
- Join Date
- Nov 2002
- Thanked 0 Times in 0 Posts
Issue with form validation and loading
I need some help here
It works great on my site. This a sample of my validation added to the html page
Any help would be appreciated.
07-19-2014, 02:32 AM #2
You'd have to get and change the code in that validator.
Currently, it apparently is triggering via the onsubmit of the <form> and returning false on any errors.
You would need to instead invoke the validator via a direct call to the master validation function and invoke your "loading" only on a return of true (and then do the form submit() call).
That code is pretty ancient. Witness that it depends on the NAME of the <form>, which is long obsolete. It should be using the ID of the <form>.
There are other more modern validators out there. Look around.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
07-19-2014, 03:37 AM #3
- Join Date
- Jun 2002
- Thanked 256 Times in 252 Posts