Home>>Hardware>>How to excecute 2 different form validation Java scrpt with 1 submit button ?
How to excecute 2 different form validation Java scrpt with 1 submit button ?
skyjockie
10-12-2005, 05:53 PM
Hi,
how do I execute 2 scripts with 1 submit button??
for example I have 2 separate scripts, one for checking that the required fields of a form is entered and another for making sure an important field within your form is filled out correctly.
Both scripts require me to enter this
onSubmit="return formCheck(this)"
onSubmit= "return verify(this.password1, this.password2)"
how do I combine these two together? I have tried these syntax