I have very simple code for CheckBoxes that located in three rows of Table1:
if (Table1.Row1.CheckBox1.rawValue == 1 || Table1.Row2.CheckBox2.rawValue == 1 || Table1.Row3.CheckBox3.rawValue == 1)
Table2.presence = "visible";
else if (Table1.Row1.CheckBox1.rawValue == 0 && Table1.Row2.CheckBox2.rawValue == 0 && Table1.Row3.CheckBox3.rawValue == 0)
Table2.presence = "hidden";
When check CheckBox1, CheckBox2, CheckBox3 works fine. But when I uncheck one of CheckBox the Table2 is hidden. I would like hidden Table2 only if all CheckBox is unchecked. How to fix a problem?
Make sure the code above is in each checkbox event click or change
Hi Robert. Thanks for replay.
All CheckBox are in event click.
The problem is not in the code, it's probably the interface...
Check every names make sure you have it right
If it's not working, I could maybe check it out if you want to share your form