Hi,
I want to get " Result 2 " Message in my Survey Result Json - To keep track of messages oncomplete survey.
Json:-
{
"completedHtml": "Result 2",
"completedHtmlOnCondition": [
{
"expression": "{question7} = 'Yes'",
"html": "Resut 1"
}
],
"pages": [
{
"name": "page1",
"elements": [
{
"type": "panel",
"name": "panel2",
"elements": [
{
"type": "radiogroup",
"name": "question7",
"title": "Do You have fever? ",
"isRequired": true,
"choices": [
{
"value": "Yes",
"text": "Yes"
},
{
"value": "No",
"text": "No"
}
],
"colCount": 0
}
]
},
{
"type": "radiogroup",
"name": "question1",
"title": "Do You have Cough?",
"isRequired": true,
"choices": [
{
"value": "Yes",
"text": "Yes"
},
{
"value": "No",
"text": "No"
}
],
"colCount": 0
}
]
},
{
"name": "page2",
"elements": [
{
"type": "comment",
"name": "question10",
"visible": false,
"title": "If Yes",
"defaultValue": "Risk 1",
"rows": 5
},
{
"type": "comment",
"name": "question14",
"visible": false,
"title": "If No",
"defaultValue": "Risk 2",
"correctAnswer": "Risk 2"
},
{
"type": "expression",
"name": "question6",
"visible": false,
"title": "Risk",
"expression": "{question7} = Yes",
"commentText": "Other (describe)"
}
]
}
],
"sendResultOnPageNext": true,
"showProgressBar": "top",
"clearInvisibleValues": "none"
}
This is the Json.
And I have to get the Result 2 message in my json.
Please Refer the attached screenshot .