Closed
Description
Steps to reproduce:
- Create a survey with 2 more pages where each page has 1 multiple choice radio button question.
- On the first page, above its question, add a question of 'html' type (which is just a label, essentially).
- Set
goNextPageAutomatic: true
. - Try to answer the first page's question, and it won't proceed.
You can see a sample survey JSON here.
{
goNextPageAutomatic: true,
requiredText: "",
showQuestionNumbers: "off",
showNavigationButtons: false,
showProgressBar: "bottom",
onValueChanged: surveyValueChanged,
pages: [
{
name: 1,
questions: [
{
type: "html",
html: "This quick quiz will help you cure your back pain (dynamically adapting based on your responses).",
name: "question1"
},
{
type: "radiogroup",
choices: [
"5: I have the torso of an Olympic athlete.",
"4: It feels fine (I don't even think about it).",
"3: It bothers me occasionally but usually isn't on my mind.",
"2: It often hampers me during various activities that I'd otherwise enjoy.",
"1: My back pain prohibits me from MANY activities and seriously disrupts my everyday life.",
"0: It's ruining my life."
],
isRequired: true,
name: "backComfortRating",
title: "[From 0 to 5] How strong, flexible, comfortable, and resilient does your back feel nowadays?"
}
]
},
{
name: 2,
questions: [
{
type: "radiogroup",
choices: [
"Yes",
"No"
],
isRequired: true,
name: "visitedDoctor",
title: "And have you been examined by a licensed health professional?"
}
]
},
{
name: 3,
questions: [
{
title: "When you followed their recommendations, what happened?",
name: 'x',
type: "radiogroup",
visibleIf: "{visitedDoctor}='Yes'",
choices: [
"one",
{
value: "two",
text: "second value"
},
{
value: "three",
text: "third value"
}
],
},
{
title: "Why not?",
name: "dd",
visibleIf: "{visitedDoctor}='No'",
type: "radiogroup",
choices: [
"one",
{
value: "two",
text: "second value"
},
{
value: "three",
text: "third value"
}
],
hasOther: true,
otherText: "Other (specify here)",
}
]
},
{
name: 4,
questions: [
{
type: "radiogroup",
choices: [
"Yes",
"No"
],
isRequired: true,
name: "xxx",
title: "(OPTIONAL) One last optional question before I give you something wonderful. What have your physical symptoms been like, and what have they prevented you from achieving in your life? (What will you enjoy doing once you feel better than ever?)"
}
]
},
],
}
Activity