How to use subforms in the form builder
Learn how you can use subforms to create forms-in-forms for improved organization and structuring of large forms.
When to use
A subform is a part of your form that is bundled in one block on the storyboard of the form builder (form-in-form). You can open such a subform on its own storyboard.
It helps to make your form structure more organized, because you can extract parts of your form into a subform, instead of showing your whole form structure in one large storyboard. This is especially handy when you have a large form structure, which can become difficult to oversee on one storyboard.
Your respondents won't notice any difference while filling out your form. Subforms are just a tool for you in the form builder to make your form structure more organized.
How to use
On the storyboard of the form builder you can insert a subform via every square
icon. The default click inserts a section, but you can also right-click the icon (or holding it with your finger on touch-enabled devices) and select
A subform will now be added to the storyboard and the form builder will open that new subform in a new storyboard right away. You can now give this subform a name, so you can recognize this subform later on in your parent storyboard. You can always edit the name by clicking the subform name in the top menu bar.
In your subform you now see an empty storyboard. The first blue bubble with the
icon indicates the entrance of this subform (from the previous form level). The second blue bubble with the
icon indicates the exit of this subform (back to the previous form level). In between these bubbles you can build the part of your form, with all form building features available. You can even add unlimited levels of subforms inside subforms.
When you open a subform in the form builder, you can use the top menu bar to navigate back to the previous form level.
To help you improve your form structure, you can also convert a section into a subform. That way you extract that whole section (including logic branches) from your main form structure and convert it into a subform, which you can then open in a separate storyboard.
The other way around is also possible: if you have a subform that you want back in your parent form, you can simply convert that into a section again. The content of your subform will then become available in the parent form again.
Move between subforms
It's also possible to move parts of your form between subforms or the parent form. That way you can for example move a section with questions into an already existing subform. Or the other way around: move a section from a subform back to its parent form.
All levels of subforms can interact with each other, for example to add logic to your form. Let's say you want to recall a value (piping logic) from the main form in a block in a subform. That's no problem! The subform will be able to recall all blocks from any form level.
The other way around it's also possible to use blocks from a subform in a higher level of your form. Let's say you want to add a branch (branch logic) in your parent form, based on a question block from a subform. The parent form will simply have all question blocks available to perform the desired logic!