Skip to main content
Participant
Nov 3, 2020 10:23 PM UTC
Answered

Java debugger when adding multiple groups of radio buttons

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 is closed to new replies. Start a new post to keep the conversation going.
desperate_java_noviceCorrect answer
Participant
Nov 3, 2020 10:45 PM UTC

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

1 reply

desperate_java_noviceAuthorCorrect answer
Participant
Nov 3, 2020 10:45 PM UTC

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

Translate