Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Hiding Page While Checkbox Checked

Avatar

Former Community Member
How do I hide a page while a CheckBox is checked, using Adobe LiveCycle Designer 8.0?
1 Reply

Avatar

Level 7

I know this is an old post, but the answer might help someone.

CheckBox1: change

//when checked, hide page

if (this.rawValue == "1") {
  this.resolveNode("#subform[2]").presence = "hidden";
}

//when unchecked, show page

if (this.rawValue == "0") {
  this.resolveNode("#subform[2]").presence = "visible";
}