Hi Everyone,
I am using the
struts validator and would like to ensure that one of the two radio buttons on my form was selected using the struts validator plugin. I have all of my other validation working perfectly except this one. Could someone please help me out.
Note: I dont want to select either one by default but one of the two needs to be selected before the page can be submitted.
<html:radio property="radioDiscount" value="percent" />Percentage discount
<html:radio property="radioDiscount" value="flat" />Flat rate discount
Thanks again everyone for your help.
Cheers,
Cory