Question Types
FlowGenie forms support a variety of question types. Each question shares a few base properties:
id
– unique identifier generated automaticallykey
– the field name used when submitting responseslabel
– text shown to the userhideLabel
– hide the label in the rendered formrequired
– whether answering is mandatorysublabel
– secondary text shown under the labelhelper
– helper tooltip textdefaultValue
– starting value
Below are the available types and their additional options.
Text Elements
Single line (text
)
Properties:
placeholder
– text shown when empty
Email (email
)
Same as text
but validates an email address.
Password (password
)
Same as text
but hides the value.
Code (code
)
Properties:
language
– language used for syntax highlighting (e.g.javascript
,python
)allowLanguageChange
– allow the end user to change the languageplaceholder
– placeholder code
Multiline (multiline
)
Properties:
lines
– number of lines to showplaceholder
– placeholder text
Number (number
)
Properties:
placeholder
– numeric placeholder
Checkbox (checkbox
)
Properties:
defaultValue
–true
orfalse
Multi Elements
Dropdown (select
)
Properties:
options
– array of{ id, key, label, value }
defaultValue
– key of the selected option
Multi‑Select (multiselect
)
Properties:
options
– array of{ id, key, label, value }
defaultValue
– array of selected keys
Ordered List (orderedlist
)
Properties:
options
– array of{ id, key, label, value }
in the displayed orderdefaultValue
– array of keys representing the order
Media Elements
File Upload (file
)
Simple file uploader with no extra options.
Image (image
)
Image picker with no extra options.
E‑Signature (esignature
)
Captures a drawn signature. No additional options.
These question types can be combined in sections to create rich forms.
Last updated on