CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 not really a codecharge issue BUT.....

Print topic Send  topic

Author Message
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"?

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.