Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

checkbox problem

Avatar

Level 1

Hi,

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

(Initialize:

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"){
subformname.presence="visible"
}
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....

strange...

I hope anyone can help me!

greets

chris

0 Replies