Copy link to clipboard
Copied
Hi friends, Getting desperate. Little java experience here. Any help would be appreciated.
Creating a form w/ Yes/No radio buttons that show/hide a group of fields (section1) based on response.
I can get it to work fine using for the first set (radio1) using either of the below for YES buttons (and display.hidden for NO)
this.getField("section1").display = display.visible; or,
if (event.target.value != "Off") {
// box is checked
this.getField("section1").display = display.visible ;
}
The problem is happening when I add a second group (radio2) to display/hide the next group of fields (section2). The debugger appears with the below...
The form needs to assign 'section1' field group to 'radio1' button set
then 'section2' field group to 'radio2' button set
and i can't figure it out. Please help :-0
nvm, figured it out.just had to post about it ha.
Copy link to clipboard
Copied
nvm, figured it out.just had to post about it ha.