Skip to main content
Participant
November 3, 2020
Answered

Java debugger when adding multiple groups of radio buttons

  • November 3, 2020
  • 1 reply
  • 416 views

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

This topic has been closed for replies.
Correct answer desperate_java_novice

nvm, figured it out.just had to post about it ha.

1 reply

desperate_java_noviceAuthorCorrect answer
Participant
November 3, 2020

nvm, figured it out.just had to post about it ha.