Available field types and their configurations in the form builder
Option | Type | Description |
---|---|---|
label | string | Display text above the field |
name | string | Unique identifier for the field |
required | boolean | Makes the field mandatory |
placeholder | string | Hint text shown inside the field |
fieldType
: text
name
: stringplaceholder
: stringrequired
: booleanaddToContact
: boolean (default: false)fieldType
: phoneNumber
name
: stringplaceholder
: stringrequired
: booleanaddToContact
: boolean (default: false)fieldType
: text
name
: stringplaceholder
: stringrequired
: booleanfieldType
: textArea
name
: stringplaceholder
: stringrequired
: booleanfieldType
: select
name
: stringplaceholder
: stringrequired
: booleanoptions
: array of strings (example: [“option1”, “option2”, “option3”])fieldType
: file
name
: stringrequired
: booleanfieldType
: number
name
: stringplaceholder
: stringrequired
: booleanmin
: numbermax
: number