A subform submitted within your forms can be displayed on your Docs templates so you can download them your way.
In this article we’ll be showing you
- How to find and display subform on your template
- An example of subform
When you download a template of your form that has subform on it, the template will display the markers on it, under Tables and Subforms
If you would like it to hide or show the elements depending on whether there was any answers, you can move the markers ${element-??????} and ${/element-??????} either side of the elements.
For example:
On this form, if the subform has no answers, it will not display on a download as shown by ‘Start Subform:’ and ‘End Subform:’
Submission
Download
If the subform has rows filled in, it will display them in between ‘Start Subform:’ and ‘End Subform:’
Submission
Download
An example of a subform
Like most of the Docs features, such as Table, subforms are customisable by moving the markers from the template in a way that suits you.
On this form, the subform has a ‘Description’ ‘First Name’ and ‘Last Name’ elements on it. The submission has 2 rows.
For this example, we’ll put the markers in a table to display them.
When you upload this template into Array, your subform will download the submission in the way
Putting ${element-1299699} and ${/element-1299699} just around the markers will cause these to repeat only. If you put them around the whole table, it will repeat everything per row.
Template
Download