Sub-forms are re-usable forms that can be added to your other forms via the Sub-Form Selector field. Sub-forms allow for easier form setup in the cases 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 that represents 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 see: Sub-Form Selector Configuration
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.
- Sub-Form Selector supports allowing users to create one or many sub-form instances via the FastField apps. In the cases where many instances can be created be sure to use the Value Mask setting of the Sub-Form Selector. Refer to see: Sub-Form Selector Configuration for more information on the Value Mask setting.