[thelist] Submitting two validation scripts

Pamela Corey pamela.corey at nist.gov
Mon Apr 2 09:42:39 CDT 2007


This is probably an easy one.  I have two validation scripts for a 
page and I want to put them both in one form onSubmit tag.  What is 
the correct code?  I thought it was:
onsubmit="return validateForm(this,arrFormValidation); && return 
ValidateFormDate();"
but that isn't working.

Can someone refresh my brain?  I've also tried it without the first ; 
but that doesn't work either.

Thanks,
Pam

Pamela Corey
IT Specialist
Public and Business Affairs Office
National Institute of Standards and Technology (NIST)
301-975-2170  


More information about the thelist mailing list