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

Can't get show/hide subform to work.

BillQuick1957
Level 1
Level 1

Although I've done my best to show/hide a subform through a radio-button in Livecycle, I can't get it to work.

Any help will be greatly appreciated.

Please see:

https://dl.dropboxusercontent.com/u/92058288/problem.jpg

https://dl.dropboxusercontent.com/u/92058288/hide%20or%20show%20subform.pdf

1 Reply
Vipin_Bhargava
Level 4
Level 4

You have created the object on Master page that causing the issue also missed the 'presence' after object name. I redesign the form but not on master Page and apply the below script and its working

Click event of 'Nee' radio button


if(this.rawValue == 1)

{

xfa.form.form1.subform1.sub1.presence="hidden";

}


Click event of 'Ja' radio button

 

if(this.rawValue == 1)

{

 

  xfa.form.form1.subform1.sub1.presence="visible";

}

For more info refer the below screenshot.

screenPage.jpg