If I disable a question with a default answer, does it's value get saved when the survey is submitted? I could use the read-only option on the question but disabling/enabling is conditional so I have to use enableIf.
Thank you.
If I disable a question with a default answer, does it's value get saved when the survey is submitted? I could use the read-only option on the question but disabling/enabling is conditional so I have to use enableIf.
Thank you.
Hello Steve,
Yes, they are. We have survey.clearInvisibleValues property to control what to do with invisible questions, but we do not do anything with disabled questions.
You can modify survey results as you need. You can modify the example in the docs by checking question.isReadOnly property and delete the related key from the JSON.
Thank you,
Andrew
SurveyJS Team