F
François de Dardel
I want to validate each field as it is filled. I also want to validate
the whole form beform submitting, checking for some "required" fields
to be filled before submit.
I managed both, and that works OK separately. The fields have following tags:
<TD><INPUT TABINDEX="25" TYPE="text" NAME="pH" SIZE=10 VALUE=7.5
ONBLUR="ValidateNumber(this, 'pH value must be between 5 and
9',5,9,7.4);"></TD>
However, when the error message appears and I press enter, the entire
form validation is triggered, which I don't want at this stage, but
only when pressing the "submit form" button at the bottom of the form.
Is there a way to achieve this ?
The whole thing is posted at:
http://mapage.noos.fr/dardelf4/tests/ADI_input.html
Thanks for any help or suggestions
--
François de Dardel
http:/mapage.noos.fr/dardelf/
Faber est suae quisque fortunae
Enlever le quatorze pour m'écrire
Remove fourteen in the address to send mail
the whole form beform submitting, checking for some "required" fields
to be filled before submit.
I managed both, and that works OK separately. The fields have following tags:
<TD><INPUT TABINDEX="25" TYPE="text" NAME="pH" SIZE=10 VALUE=7.5
ONBLUR="ValidateNumber(this, 'pH value must be between 5 and
9',5,9,7.4);"></TD>
However, when the error message appears and I press enter, the entire
form validation is triggered, which I don't want at this stage, but
only when pressing the "submit form" button at the bottom of the form.
Is there a way to achieve this ?
The whole thing is posted at:
http://mapage.noos.fr/dardelf4/tests/ADI_input.html
Thanks for any help or suggestions
--
François de Dardel
http:/mapage.noos.fr/dardelf/
Faber est suae quisque fortunae
Enlever le quatorze pour m'écrire
Remove fourteen in the address to send mail