Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

checkbox problem


Level 1


Ive got an strange checkbox problem. I build 4 checkboxes in my aif. They should only appear/disappear 4 subforms.


1 Checkbox: ckecked

2 Checkbox: unchecked

3,4 unchecked)

My coding is in the "click" and "initialize" event of my checkboxes.

if (this.rawValue=="1"){
else {subformname.presence="hidden"

It works out at first. But e.g. if i uncheck the first checkbox - the subform of the second doesnt appear if i checked the second box.

But if i uncheck the first and check it then - the 2,3,4 checkboxes work out....


I hope anyone can help me!



0 Replies