Multiple Text Item Schema
Multiple text item objects define each input inside a multipletext question.
Minimal Shape
Section titled “Minimal Shape”{ "name": "firstName", "title": "First name", "isRequired": true}Properties
Section titled “Properties”- Type:
string - Required: Yes
Stored key for this input inside the multiple text answer object.
- Type:
string - Localizable: Yes
Visible label for this input.
inputType
Section titled “inputType”- Type:
string
HTML input type, for example text, email, number, date, or tel.
placeholder
Section titled “placeholder”- Type:
string - Localizable: Yes
Placeholder text.
isRequired
Section titled “isRequired”- Type:
boolean
Requires this item.
validators
Section titled “validators”- Type:
validators
Validators for this item.
Example
Section titled “Example”{ "type": "multipletext", "name": "contact", "title": "Contact details", "items": [ { "name": "firstName", "title": "First name", "isRequired": true }, { "name": "lastName", "title": "Last name", "isRequired": true }, { "name": "email", "title": "Email", "inputType": "email" } ]}