Paul
|
| Posted: 02/26/2002, 7:44 AM |
|
Hi guys now i know this isn't really a CC issue but i have have form that needs to call two seperate onSubmit javascript validation rules. How can i do this...
<form name="Registration_Schools" method="post" action="../send_form_school.asp" ...... then i need to add these two rules.... but all the way i can think of combining them at this stage returns an error....
onSubmit="return checkrequired(this)"
onSubmit="return emailCheck(this.your_email.value)"
any ideas?
|
|
|
 |
Alex Alexapolsky
|
| Posted: 02/27/2002, 6:36 AM |
|
Creata a wrapper function that will call both this functions
and hook it to onsubmit
|
|
|
 |
Paul
|
| Posted: 02/27/2002, 9:03 AM |
|
Sorry alex but i don't know what this means, my javascript knowledge is even worse than my ASP 
>Create a wrapper function that will call both this functions
>and hook it to onsubmit
how do i create this "wrapper function"?
|
|
|
 |
|