Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Forms
Viewing all articles
Browse latest Browse all 61369

subform visibility

$
0
0

Hello,

 

Newb question (⌒_⌒;)

Could someone please help me to get right JavaScript code for the following case?

I'd like to have a button that sets visibility of subform depending on checkbox value. If checkbox is unchecked then subform will be hidden otherwise it will stay visible.

 

I've tried something like this but it's not working:


topmostSubform.Page1.Subform1.Param.Buttons.Hide::click - (JavaScript, client)


if (topmostSubform.Page1.Subform1.Param.base.Checkbox1.rawValue == "0") then {this.resolveNode("topmostSubform.Page1.Subform1.Param.base").presenc e = "hidden";}


Viewing all articles
Browse latest Browse all 61369

Trending Articles



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