Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

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