Expand my Community achievements bar.

Can't get show/hide subform to work.

Avatar

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

Avatar

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