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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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