I’m designing a form with three radio buttons. Depending on the button the user selects, a set of checkboxes should appear for the user to check.
The user should be able to click a different radio button to hide the displayed set of checkboxes and show a different set.
My intention was to use:
- one fieldset to contain the radio buttons, always visible. (They were working properly but now more than one can be selected: not a big issue right now.)
- three separate fieldsets to contain the checkbox sets, initially none, then only one visible depending on its radio button
- myForm.fieldset(clm_deathBenefit).hide(); and myForm.fieldset(clm_deathBenefit).show(); but these don’t work.
Question 1: Is there an easier strategy to do this? As this project progresses, there may be further, lower decision levels. I don’t think our users would understand your treegrids: previous, unused decision levels should disappear.
Question 2: What is the correct method/syntax for myForm.fieldset(clm_deathBenefit).hide();?
Thanks and regards
Steve
claimform.zip (2.17 KB)