Expand my Community achievements bar.

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

Avatar

Former Community Member

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

3 Replies

Avatar

Level 8

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

Avatar

Former Community Member

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";

}