Using the Subforms element
The Subforms element can be used to condense your form and break up larger form sections into smaller forms.
Select Subforms under Element Properties on the left side of the screen. You will see a new element pop up on your device view.
On the right side of the screen under Element Properties, enter the name of your element as well as a description if necessary. To make information required in order to submit form, scroll down and select Required under Element Properties.
Scroll down and select Option List. Under Link Mode you will see the selections Multiple, Single and Separate view.
– Single: Allows you to submit one subform at a time.
– Multiple: Allows you to submit multiple subforms at a time.
– Separate View: Allows you to see the subform records in a separate table view.
Select a form.
Click the save icon at the top right corner of the page.
A Parent form is the first form that will open on the SmartCAT Forms app. A Subform is an attachment of the first form you open up.
How to Delete a Subform
To delete a single sub-form record press and hold any part of the record and select Delete.
How to Hide a Completed Subform
Upon completion of a subform you may want to hide the subform element so it cannot be accessed after it is filled out.
To do this follow the example below
Let’s assume the following:
Form Name: my_form
Sub-Form Element: my_sub
Number Element: my_sub_number
Create a number element and add it right below the subform element and give it the Dynamic Value of: my_form.my_sub.length
Set the Conditional Value of the number element to false. (This will make the number element not show up on your form.)
Go into the subform element on the parent form and add the
Conditional Value of:
my_sub_number == 0
What Hiding a Subform Looks Like
Open the form on your device and select the Subform.
Fill out your Subform then click done.
Now you will see there is not an option to go back and change the Subform.