Depending on which version of Struts you are using, use requiredif or validwhen.
See the online documentation for further details. http://struts.apache.org/userGuide/dev_validator.html -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx ----- Original Message ----- From: "Priya Jotwani" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, September 29, 2004 9:25 AM Subject: Error Handling in Struts Hi, I have a JSP Page which has two dropdown fields. If the user selects something from first dropdown and doesn't selects anything from the second dropdown, it displays me an error message saying "This field is required". But now I have a scenario wherein, on selecting a particular value from first dropdown should not force the user to select something from the second dropdown (i.e he should be able to proceed even if he doesn't selects anything from the second dropdown). How can I implement this is Struts ? TIA, Priya --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]