Help me to validate 2 radiobuttonlists
hi,
I have to validate my form only with javascript.
I have two radiobuttonlists in my asp.net webform namely rdlmaritalstatus and rdlbeneficiary.
The items for rdlmaritalstatus are Maried,Divorced,single,Seperated.
The items for rdlbeneficiary are Spouse only,Spouse and all children equally,Children listed above,Other.
If the user selects Maried in rdlmaritalstatus then the four options in rdlbeneficiary can be enabled.
(enabled=true)
If the user selects Divorced or single or Seperated in rdlmaritalstatus then Spouse only and Spouse and all children equally in rdlbeneficiary should be disabled.
(enabled=false)
I tried.But i havent get result correctly.Please help me.Its urgent..
Thank You,
Subhashini Palanivel.
|