Appendix: Form Input Types
These are possible children of the create, edit, button, and variable widgets.
autocomplete input
Autocomplete inputs show a text input that autocompletes to the options specified in the jsonata expression
Sample output:binary file input
Allows uploading a file. returns the file contents as a base 64 encoded data URL
Sample output:binary file with metadata input
Allows uploading a file. returns an object with name, lastModified, size, type, and value (containing the file contents as a base 64 encoded data URL)
Sample output:{
"name" : "test.txt",
"lastModified" : 1756398020293,
"size" : 13,
"type" : "text/plain",
"value" : "data:text/plain;base64,ZmlsZSBjb250ZW50cw=="
}
boolean input
Boolean inputs show a on/off toggle. In this example, the toggle has the label 'Opt in'
Sample output:date input
Shows a date picker input. Returns a YYYY-MM-DD string with the selected date
Sample output:datetime input
Shows a datetime picker input
Sample output:file input
Allows uploading a file. returns the file contents
Sample output:file with metadata input
Allows uploading a file. returns an object with name, lastModified, size, type, and value (containing the file contents)
Sample output:{
"name" : "test.txt",
"lastModified" : 1756398020293,
"size" : 13,
"type" : "text/plain",
"value" : "file contents"
}
key value input
key value inputs display a two column table to enter keys and values. Returns a JSON object
Sample output:multi select input
Multi Select inputs show a drop-down selection with the options specified in the jsonata expression. Multiple options can be selected yielding an array of values
Sample output:number input
Number inputs show a text input that is restricted to entering numbers
Sample output:password input
Shows a password input field
Sample output:qrcode input
Allows scanning a QR Code into the form field
Sample output:select input
Select inputs show a drop-down selection with the options specified in the jsonata expression
Sample output:string input
String inputs show a text input
Sample output:textarea input
Shows a multi line input field (textarea)
Sample output:time input
Shows a time picker input. Returns a ISO 8601 date string with the current day and the selected time
Sample output:voice input
Shows a text input field with a voice option
Sample output: