ASP.NET Masterpage and javascript form validation

yannhuet

New Member
Messages
5
Reaction score
0
Points
0
Hi there,

I've got a problem with understanding how javascript form validation works together with an ASP.NET MasterPage.

Indeed, the MasterPage allow you to have only one form for the entire web site (which is on the MasterPage).
However, i need to validate my form (on the page contact.aspx) with javascript. Therefore i need to put the following code somewhere to call the javascript functions, and i don't know where: on the masterPage or contact page??? I tried both, it didn't work...

Code:
onSubmit="return formvalidation(form)"


Does anyone know if this is possible using MasperPage from ASP.NET.???

Cheers,
Yann
 
Top