• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Java debugger when adding multiple groups of radio buttons

New Here ,
Nov 03, 2020 Nov 03, 2020

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...

 

defaultnd28m5bfwdgw_0-1604441885120.png

 

 

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

TOPICS
Acrobat SDK and JavaScript

Views

264

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

New Here , Nov 03, 2020 Nov 03, 2020

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

Votes

Translate

Translate
New Here ,
Nov 03, 2020 Nov 03, 2020

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines