Rajat,
Perhaps I'm missing something here, but by definition, one of your radio buttons should be checked. If you display your form without having any of your radio buttons checked, then it amounts to a checkbox. If you initialize your form bean correctly, one will be checked and then, you shouldn't need to validate the radio button at all.


Regards,

Richard

At 10:30 PM 10/25/2003 -0700, you wrote:
Hello,
 I am still stuck with the multiple parameter problem. I shall try to
explain the problem again. Maybe someone could help.
I have a form, which has a number of records to be displayed.
A checkbox, a textbox, two radio buttons with the same name. I have the
following objective.

A. perform validation for the checkbox that is selected. I need to
ensure that textbox contains value greater that zero and either of the
radio buttons where selected
B. I need to iterate though the list of data. Ie for the checkbox that
was selected and then save the information in the database.

I have tried using <html:radio indexed="true" which seems to work, but I
still cant figure out how to iterate though it as I will need to do that
in the validate() and execute() method.

Pls gimme some pointers or help :(((

Really really stuck!





Rajat Pandit | [EMAIL PROTECTED]
+91 612 3117606
[ Developer and Part Time Human Being]


--------------------------------------------------------------------- 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]



Reply via email to