(this.rawValue == 1) CognitionBehaviorSubformCheckBoxes.presence
My intention is to make the subform visible only when the checkbox is checked.
If the checkbox is MANUALLY checked or unchecked, the subform becomes visisble or hidden, as expected.
HOWEVER, whenever a previously saved form is initially opened, the subform is ALWAYS VISIBLE, regardless of whether the checkbox is checked or unchecked.
Is there a way to cause the subform to be HIDDEN when the form is opened with the checkbox unchecked?
I have tried different approaches: reversing the logic (checking the checkbox to make it hidden instead of visible), and trying different default values for the checkbox. No matter what I try, the subform is ALWAYS open when the form is opened.
I can close the subform only by MANUALLY either unchecking the checkbox (if it is initially checked) or checking and unchecking the checkbox (if it is initially unchecked).
Europe, Middle East and Africa