Your current form may include a table where data is input into multiple cells as a group. Thankfully tables like this can be easily translated in FastField by using sub-forms. Knowing how to implement sub-forms properly is critical.
Sub-Forms allow for a straightforward capturing of recurring instances of the same data type. An example of this would be recording inventory of items with line items. In this scenario, you would create a reusable sub-form representing a line item input. Let's look at this physical inventory sheet as an example.
Turning a Table Into a Sub-Form
Not entirely all of this table would be included in the sub-form. Think of the top section as a static section and the item inventory table as a dynamic set of fields.
These top four fields would be easily translated into numeric, date/time, text, or option list fields and would not be included in the subform but would be included in the main form.
Example:
The part of the table that would be included in the subform would be the Inventory number, item description, purchase price, quantity and location.
Your sub-form should look similar to the example below:
Adding the Sub-Form to Your Main 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 on the subform you have created for the item inventory.
- Once you have selected your sub-form make sure to click "Allow Multiple Sub-Form Instances". This will allow you to repeat inputs in the table.
- From this point, you can configure the sub-form field as needed. Please read for details on Sub-Form Selector Configuration.
Using the form in practical practice, "Allow Multiple Sub-Form Instances" must be turned on to use the form as an item inventory log effectively. Complete the item inventory subform as many times until the task is complete and then submit. Your instances will be queued as shown until you are finished.
Click submit when you have finished your sub-form instances.