Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Show/hide subforms with Radio Buttons

$
0
0

I am trying to show a subform when a radio button is clicked.  Here is the code I am using:

 

if (this.rawValue = 1){

DEXA.presence = "visible";

} else {

 

DEXA.presence = "hidden";

 

}

 

if (this.rawValue = 2){

Fluoroscopy.presence = "visible";

} else {

 

Fluoroscopy.presence = "hidden";

 

}

 

if (this.rawValue = 3){

Other.presence = "visible";

} else {

 

Other.presence = "hidden";

 

}

 

I am having a couple of issues.  One is that the radio button isn't showing it's active, and the second is that although the first subform (for DEXA) appears, the second subform (Fluoroscopy) doesn't show up when clicked.  I have been working on this for hours, so any help would be appreciated!

 

the document is here:  https://workspaces.acrobat.com/?d=QS6S9dZG2ha4TlXimR1n0w

 

Thanks, Anne


Viewing all articles
Browse latest Browse all 5571

Trending Articles