You need to set your page attribute in <html:javascript> tag. For example: <html:javascript formName="myForm" page="2" />
-----Original Message----- From: Anand M S [mailto:[EMAIL PROTECTED] Sent: August 5, 2003 10:42 AM To: [EMAIL PROTECTED] Subject: multi page validation and page attribute Here is the my validation.xml <field property="firstName" page="2" depends="required" > <arg0 key="sysAdminForm.firstName.displayname"/> </field> <field property="travelAllowance" depends="required, mask"> <arg0 key="sysAdminForm.travelAllownace.displayname"/> <var> <var-name>mask</var-name> <var-value>${money}</var-value> </var> from my jsp I'm passing page value 2, and default val in struts config is 1, <html:form action="sysAdmin.do"> <html:hidden property="method" value="saveUser"/> <html:hidden property="page" value="2" /> I want to validate only first name from this page, but it's validating both the fields, am I missing any thig? Thanks, Anand _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]