See also client side validation taglibs in Coldtags suite:
http://www.servletsuite.com/jsp.htm

They will create an appropriate JavaScript for your application.

-------------------------------------
Are you returning "false" from the onSubmit event after showing the
alert? Typically an onSubmit JavaScript event would look something like
the following, but you have to return "false" from the validate_form
method to prevent the submit.

<form name="form"
   method="post"
   action="/servlet/myapp.jsp"
   onSubmit="return validate_form()">



--
Coldbeans Software - server-side Java (tm) components
http://www.servletsuite.com



__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to