Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to Add a Radio Button and Hidden Field to Exiting RBList?

Avatar

Level 2

I have a form that I'm trying to update by adding a fourth RB to the list as well as a new invisible field that should only reveal when the new RB is selected. Code on the change works for RB items E, F, and G (1,2,3 values), but not for the new "H" button and it's hidden field. I'm a little rusty with the code, so I'm sure it's something I'm missing. I'm stumped and need help. The form is created in LiveCycle Designer 8.2.1

0 Replies

Avatar

Level 8

Can you paste the code into the message so a recommendation can be made?

Avatar

Level 2

Sure. I thought did that, but guess it didn't copy over.

Thanks for replying.

Here's the code that works for the first three RBs. The new hidden field is entitled "OtherDescriptionTxt"

 

if(this.rawValue != 3)

{

     EdgeDropDown2.presence = "visible";

     EdgePanelChkBxTxt.presence = "hidden";

     EdgeDetailNoteTxt.presence = "visible";

     OtherDescriptionTxt.presence = "visible";

}else  {

     EdgeDropDown2.presence = "hidden";

     EdgePanelChkBxTxt.presence = "visible";

     EdgeDetailNoteTxt.presence = "hidden";

     OtherDescriptionTxt.presence = "hidden";

}