Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 262 invoked from network); 3 Aug 2006 04:47:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Aug 2006 04:47:55 -0000 Received: (qmail 97209 invoked by uid 500); 3 Aug 2006 04:47:48 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 96326 invoked by uid 500); 3 Aug 2006 04:47:45 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 96314 invoked by uid 99); 3 Aug 2006 04:47:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 21:47:45 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [202.157.148.20] (HELO mail20.bluerapport.com) (202.157.148.20) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2006 21:47:44 -0700 Received: from mail.bluesingapore.com (unknown [203.125.247.10]) by mail20.bluerapport.com (Postfix) with ESMTP id 8E8F07E9A74 for ; Thu, 3 Aug 2006 12:49:41 +0800 (SGT) Received: from cpandey ([10.0.0.171]) by bluesingapore.com with MailEnable ESMTP; Thu, 03 Aug 2006 12:45:19 +0800 From: "Chetan Pandey" To: "'Struts Users Mailing List'" Subject: RE: Client Side Validation Date: Thu, 3 Aug 2006 12:45:01 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: Aca2BPYAtsCtW6tdSh+rVQTTv9FOhgAsmiwA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 In-Reply-To: <57c987f40608020027n234cd913i29bd0a8c474285ca@mail.gmail.com> Message-Id: <20060803044941.8E8F07E9A74@mail20.bluerapport.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi All: This is what I am doing. . . . . . . But the Code only does Server Side Validation. Am I missing naything pls. Thanks. Chetan Pandey -----Original Message----- From: Romu [mailto:romu31@gmail.com] Sent: Wednesday, August 02, 2006 3:28 PM To: Struts Users Mailing List Subject: Re: Client Side Validation your form shoud have been named : attendeeDetailsForm, like bean no caps for first letter . then validateAttendeeDeta > > onsubmit="validateAttendeeDeta > > > > ilsForm (); > > or validateAttendeeDeta > > onsubmit="validateAttendeeDeta > > > > ilsForm (this); > > > u can see the javascript generated in the source of your jsp btw . hope it helps 2006/8/2, Chetan Pandey : > > I have this: > > > > Where "validateRequired" comes from the following Javascript code in my > validator-rules.xml > > classname="org.apache.struts.validator.FieldChecks" > method="validateRequired" > methodParams="java.lang.Object, > org.apache.commons.validator.ValidatorAction, > org.apache.commons.validator.Field, > org.apache.struts.action.ActionMessages, > org.apache.commons.validator.Validator, > javax.servlet.http.HttpServletRequest" > msg="errors.required"> > > > function validateRequired(form) { > .... > } > ]]> > > > > But no Client-side Validation is occuring > > -----Original Message----- > From: Lixin Chu [mailto:lixin.chu@gmail.com] > Sent: Wednesday, August 02, 2006 10:35 AM > To: Struts Users Mailing List > Subject: Re: Client Side Validation > > do you have something like: > onsubmit="validateAttendeeDetailsForm (this);" > in ? > > and form name is not attendeeDetailsForn ? > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org