Avatar

Correct answer by
Level 10

Hi,

You have complete control over this.

The following are various approaches if you had four checkboxes controlling the presence of a subform. All scripts are FormCalc and in the layout:ready event of the subform.

Where any checkbox would show the subform:

if (Sum(Checkbox1, Checkbox2, Checkbox3, Checkbox4) ge 1) then

   $.presence = "visible"

else

   $.presence = "hidden"

endif

Where all four checkbox have to be clicked to show the subform:

if (Sum(Checkbox1, Checkbox2, Checkbox3, Checkbox4) eq 4) then

   $.presence = "visible"

else

   $.presence = "hidden"

endif

Make sense?

Niall

View solution in original post