make checkmark visable because of checking other field

Avatar

Avatar

robertw7593927

Avatar

robertw7593927

robertw7593927

10-12-2015

LiveCycle Designer

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

robertw7593927

Avatar

robertw7593927

robertw7593927

10-12-2015

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.

Avatar

Avatar

lateniteNC

Avatar

lateniteNC

lateniteNC

10-12-2015

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";