Follow

Sub-Form Selector

admin

Launches a Sub Form from the Master Form. Sub Forms are most commonly used to capture several records of data in a single form.

Android

android

Admin Portal

admin

Configuration

SettingDescription
Field Label The label displayed for the field. This is usually displayed at the top left corner above the field.
Field Key A Key used to reference the field in submission data. The key is also used to reference the field in rules and calculations.
Sub-Form The name of the Sub-Form that will be displayed.
Hint Text The text that is displayed if the field has no value set, e.g. "Please enter a value"
Rules A Rule or JavaScript snippet that allows you to perform actions on fields or sections within the form. The actions can include hide, show, enable, disable, showSection and hideSection. Rules are executed on field value changes and when the form is opened.

ex.
if ($field1$ > 23) { hide(); } else { show(); }

(Please see the Introduction to Rules Document for more information)
Hide Field Label Hides the Field Label.
Enabled If not set the field will be visible but cannot be edited or set to accept new input.
Hidden If enabled the field and all labels are not visible.
Allow Multiple Sub-Form Instances More than one value can be created and submitted in the form submission.
Exclude From Reports If checked, the field will be excluded from HTML and PDF reports and will also be excluded from Excel and CSV exports.
Alert Type Choose a theme to change the background and font colors of the field cell as displayed in the apps.
Sub-Form Fields Once a Sub-Form is chosen, it's fields will be listed here and may then be dragged and dropped into the Display Mask section.
Display Mask A mask that allows the setting of a custom value mask based on Field Keys contained in the sub-form. This value will be sent in the form submission.

ex.
$PRODUCT_CODE$_$PRODUCT_MODEL$

Result Data

Data TypeDomain of ValuesExample JSON
Array of sub-form key value property Objects Any array that contains sub-form key value property Objects json{ "subform_1": [{ "alpha_1": "A new picture label"}, { "photo_1": "73e0d68e-a648-43e9-9299-518cb81e8359.jpg"}, { "alpha_1": "Another picture label"}, { "photo_1": "30e04c9a-ffb1-4e57-a855-b8c3d9bb454e.jpg"}]}
Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk