Expand my Community achievements bar.

make checkmark visable because of checking other field

Avatar

Not applicable

LiveCycle Designer

How do I make a checkbox visable, that was set to invisable, based on another checkbox being clicked?

2 Replies

Avatar

Level 4

Try this in the click* event of CheckBox1 (the checkbox being checked) to make visible the invisible checkbox:

if (this.rawValue == 0){

xfa.resolveNode("CheckBox2").presence = "invisible";

else{

xfa.resolveNode("CheckBox2").presence = "visible";

Avatar

Not applicable

For some reason, it didn't work, even though I entered my CheckBox name where you have "CheckBox2".  I'll have to investigate further tomorrow.  Thanks.

page footer