Value Entry
Value entry
Value entry questions are used with textboxes, and these are validated server side. This could look something like this:

1{
2 "traversalId": "55babc25-b76b-4f7c-86d3-b4c970ae4ab1",
3 "algoId": 4550,
4 "nodes": [
5 {
6 "nodeId": 533,
7 "assetId": 0,
8 "errors": [],
9 "displayText": null,
10 "title": null,
11 "explanation": null,
12 "data": null,
13 "questions": [
14 {
15 "nodeId": 533,
16 "questionId": 19063,
17 "displayText": "How old are you?",
18 "title": null,
19 "answers": [
20 {
21 "nodeId": 533,
22 "questionId": 19063,
23 "answerId": 16309,
24 "controlType": "Number",
25 "controlValue": null,
26 "controlChecked": false,
27 "displayText": "years",
28 "explanation": "",
29 "data": {
30 "Properties": { "Align": "AnswerLeft", "NumericKeypad": "" }
31 }
32 }
33 ],
34 "explanation": "",
35 "data": {}
36 }
37 ],
38 "isTable": false
39 }
40 ],
41 "assessmentType": 0,
42 "algoName": "Age & Gender",
43 "errors": [],
44 "previousDisabled": true,
45 "nextDisabled": false,
46 "language": "DEFAULT"
47}
Textarea
Textarea questions are used for multiline text input, allowing users to provide longer form responses. The Textarea control type supports optional minLength and maxLength validation.
Note: The
Textareacontrol type is only available when using the v3 API. See API Version Override for details on how to configure this.
1{
2 "traversalId": "55babc25-b76b-4f7c-86d3-b4c970ae4ab1",
3 "algoId": 5459,
4 "nodes": [
5 {
6 "nodeId": 6,
7 "assetId": 0,
8 "errors": [],
9 "displayText": null,
10 "title": null,
11 "explanation": null,
12 "data": null,
13 "questions": [
14 {
15 "nodeId": 6,
16 "questionId": 30242,
17 "displayText": "Describe your symptoms",
18 "title": null,
19 "answers": [
20 {
21 "nodeId": 6,
22 "questionId": 30242,
23 "answerId": 38687,
24 "controlType": "Textarea",
25 "controlValue": null,
26 "controlChecked": false,
27 "displayText": "Please provide details",
28 "explanation": "",
29 "data": {}
30 }
31 ],
32 "explanation": "",
33 "data": {}
34 }
35 ],
36 "isTable": false
37 }
38 ],
39 "assessmentType": 0,
40 "algoName": "Symptom Checker",
41 "errors": [],
42 "previousDisabled": false,
43 "nextDisabled": false,
44 "language": "DEFAULT"
45}