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

subforms appearing/disappearing

Level 1
Level 1

I am struggling to make subforms appear/disapprear dependant on whether a check box is selceted. Any advice gratefully appreciated. I have 7 check boxes and i need to link them to 7 subforms

2 Replies
Level 10
Level 10

Are you using the presence property to show/hide? Are the subforms starting as hidden? If they are, set them to invisible and it should work. Then if you want to truly use hidden, you will have to restructure the form to allow the use of the instance manager to add a section. Have a look at dynamic subforms to see how to do it.


Level 4
Level 4

Here is a quick sample of 7 checkboxes controlling 7 subforms.  Let me know if you have any questions around how this works.

Things you need to pay attention to in particular:

  • Make sure your top-level form is "flowed" so that the space the "hidden" content used previously disappears along with the content
  • Your form needs to be "Dynamic".  If it is static then field visibility can not change.