Problem in Struts Validation
I'm facing a problem with validation in sturts.
The scenario is like this.
I've two fields in a form. Lets say Field1 and Field2.
Field2 is dependent on Field1.
When I'm validating the form, Field2 is also getting validated even there are some errors in Field1.
Is there any method to provide the dependency so that Field2 is not getting validated until Field1 having no validation errors?
I'm using validation.xml for defining the rules.
|