Nishant, Use *page* attribute while defining your validation.xml. Like this : ----------8<8<8<-------------- <field property="inquiryHeader.deliveryPeriod" depends="required" page="1"> <arg0 key="inquiry.form.header.deliveryPeriod"></arg0> </field> ----------8<8<8<--------------
In your Jsp page, add a hidden attribute defining the value for the page. Like this : ----------8<8<8<-------------- <html:hidden property="page" value="1"/> ----------8<8<8<-------------- Done. In short you are telling the validator to invoke validations only in case a) it'll find the page attribute in request and b) the value for that matches with the one specified in validation.xml. Also note that hidden attribute name can *not* be anything other than *page* in the request. Post back for further info. HTH. Kinjal Sonpal ---------------------------------------- "In the real world, the right thing never happens in the right place at the right time. It is the task of journalists and historians to rectify this error." Mark Twain > -----Original Message----- > From: Nishant [mailto:[EMAIL PROTECTED] > Sent: Friday, November 19, 2004 12:07 PM > To: Struts Users Mailing List > Subject: validator form not responding properly > > > in my struts application i am goin from one page to > another by clicking the buttons.... > but when i got to particular page which is using > validatorform it will popup validations on invoking.. > so my problem is how to delay the invocation of > validatorForm ....... > Regards > Nishant Patil > Software Engineer > Cybage Softwares Pvt. Ltd. (A CMM Level 3 Company) > West Avenue, Kalyaninagar > Pune - 411006 > Ph. +91-20-4044700/4041700 Extn 355 > [EMAIL PROTECTED] > www.cybage.com > "There is difference between knowing the Path and walking > on the Path" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]