text
Single-line text input.
Properties
inputType: Input variant (defaultstring)unit: Unit suffix shown after the input
Supported inputType values: string, number, email, tel, date, datetime-local, month, time, url.
Answer Format
{ "answer": "string value" }
Example
{
"id": "weight",
"fieldType": "text",
"question": "Patient Weight",
"inputType": "number",
"unit": "kg",
"required": true
}