Sub-Forms are re-usable forms that can be added to your other forms via the Sub-Form Selector field. Sub-Forms allow for a more straightforward form setup where you need to capture repeating instances of the same type of data.
An example of this is an order with line items. In this scenario, you would create a re-usable sub-form representing a line item and add that sub-form to your order form via the Sub-Form Selector field.
The following instructions provide a step-by-step walkthrough of setting up and using a sub-form.
Creating a Sub-Form
- Login to https://manage.fastfieldforms.com using your administration username and password
- Open your form, and add the subform field type.
- On the right-side panel, you will then be able to click "Create New Subform."
Add Fields to Your Form
- You can add fields from the "Add Fields" panel on the left side of your screen:
- Click the
Text Field Type Icon
- Click the
Single Photo Field Type Icon
- Click the
Switch Field Type Icon
- Click the
Your sub-form should look similar to the screen below:
From this point, you can configure the sub-form field as needed. For details on the different options to configure a Sub-Form Selector field.
Use the Sub Form Selector to launch Sub-Form from the Master Form. The Sub Form selector field will prompt you with a list of your created Sub Forms to choose from or create a new one from scratch. Sub Forms are most commonly used to capture several instances of data within a single form submission.
NOTE: A Sub-Form must be created before a Sub-Form field can be added to a main form.
Notes and Limitations of Sub-Forms
The following are some important notes and known limitations of using Sub-Forms in FastField.
- Sub-Form Selector fields cannot be added to a sub-form (e.g., sub-forms do not allow infinite nesting of data).
- Sub-Forms do not contain Pages in their organizational structure.
- Sub-form data contained in form submissions cannot be exported to CSV format.