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

show/hide subform based on radiobutton on masterpage

$
0
0

I have a set of radiobuttons on my master page.

If radiobutton 1 is selected, then subform 4 must be hidden (excluded)

and when radiobutton 2 is selected, subform 4 must be visible.

 

I can't get it to work.

I tried put the script on the calculation of subform 4

 

 

if (xfa.resolveNode("formulier1.#pageSet.Pagina1.AanbestedingBetreft").rawValue == 1)    this.presence = "hidden";else    this.presence = "visible";

 

But nothing happens

 

then i tried to make a calculation on the radiobutton.

But then suform 4 is invisible, but not excluded (i get an empty page)

 

What is the best way to do this??


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>