Expand my Community achievements bar.

make checkmark visable because of checking other field

Avatar

Former Community Member

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

Former Community Member

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.