The form should have an onSubmit setting to
invoke that javascript function.  Have you
assured that the web page you see in the
browser:

a) has the onsubmit listing your validation form function
b) has the require() javascript function
c) has the form named javascript function
d) isn't showing any javascript error messages.

Regards,
David

-----Original Message-----
From: Sandip Mante [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 05, 2004 12:33 AM
To: [EMAIL PROTECTED]
Subject: Problem in Client Side Validation in Struts


Dear Sir,
I have a problem in Client Side Validation in Struts 1.1.Actually see
what is happening and what i have done:
I have written all validdation and validation rules invalidator.xml and
valation-rule.xml.
I have given path (through plug-in tag) in struts-config file. \
I have called it in JSP's by using return validateFormName onsubmit of
the Form.
Its working properly when I left the any required (of which validation
ihave given in Validator.xml file)field blank.
But it is not working when I'm doing validation of Maxlength and minlength
of fields? It is not generating any error but doesn't working also. WHy i'm
getting such a problem.
Hope you will undersatnd it and will reply me.
Thanks and Reagrds,
Sandip Mante
"The Journy has been started and the sky is limit !!!" "Failure always made
me try harder next time!!!"

Sandip K. Mante
Software Engineer Penta Computing Pvt. Ltd
Shivaji Nagar,
Pune-411004
[EMAIL PROTECTED] mobile: +919822859361




Signature powered by PlaxoWant a signature like this?

Add me to your address book...


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to