I have a UserForm which holds data for two wizard-type data entry pages,
meaning, a user enters half the information on one page, hits NEXT, enters
the remaining information on the next page and hits SUBMIT.

Example: UserForm has name, id, dob, countryOfResidence being populated from
the first page and street1, street2, street3, city, state, zip being
populated from the second page.

On the first page, the name and countryOfResidence are required fields and
on the second page street1, city, state, zip are required.

How do I setup the struts validator so that I can only run the validations
for name and countryOfResidence piece of the UserForm when the user hits
NEXT on the first page and then run the validations for street1, city,
state, zip when the user hits SUBMIT on the second page?

Thanks for any help,
-Dhanashree.

Reply via email to