Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

make checkmark visable because of checking other field

robertw7593927
Level 1
Level 1

LiveCycle Designer

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

2 Replies
lateniteNC
Level 4
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";

robertw7593927
Level 1
Level 1

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.