Bjarne, to understand your issue, it does validate when you click the submit button but you don't want it to validate on blur until after they have clicked the submit button.
Sorry about the long wait for a response, I was on vacation for a while. You probably have this figured out now.
But I was wondering if it's possible to deactivate the validation when you click into a field and then click to the next field it validate the field you just came from. So it instead only validate the field when clicking the submit button.
Validate onclick
Hi..
How can I modify the javascript, so it first validate the field, when you click on submit button?
Right now it alse shows the error messages if you click into a field and click into another field without enter anything in the field.
Bjarne
Bjarne, to understand your issue, it does validate when you click the submit button but you don't want it to validate on blur until after they have clicked the submit button.
Sorry about the long wait for a response, I was on vacation for a while. You probably have this figured out now.
Yes it validates when clicking on the submit button as on this page, where I use the form: http://ak-security.dk/kontakt.aspx
But I was wondering if it's possible to deactivate the validation when you click into a field and then click to the next field it validate the field you just came from.
So it instead only validate the field when clicking the submit button.
Bjarne
is working on a reply...