Hi , I have a requirement where user has to fill up some kind of questionaire form. Questions for a user depends on the "type" of a user. In essense we have a form containing questions which could be different based on the user type. Questions are basically mutiple choice questions and the user can select the correct answer by selecting a radio button .
Now I want to use struts validation frame work for performing validations. If the user leaves any of the answers empty by not selecting the radio button , the system should not accept it and report an error displaying the same form with all the data entered for the form. The question is how can i use the validation framework to perform validation? Please note that the form fields change so it is not possible for me to associate them in "validator.xml" before hand. Any inputs would be appreciated. Thanks Vishy

