Quantcast
Channel: Topics in Category: Can I do this with LimeSurvey? - LimeSurvey forums
Viewing all articles
Browse latest Browse all 17529

Hidden Array Numbers question to Calculate a result based on previous question. - by: Maverick87Shaka

$
0
0
Hi to All,
Actually I have this scenario:
I have an Array Numbers question with the checkbox layout enabled, and the Question validation equation ( called Q3 as QuestionID ).
This question have 30 Y-Scale subquestions, and only 2 option for X-Scale, OptionA and OptionB.
This style works fine from users experience but have a lot of work to be done manually to have a good result.
The goal now is to being able to automatic calculate the result. The result that I need is only a numerical value for each Y-Scale subquestion.
So, I would like to create new Array numbers Question (hidden) with only one X-Scale, and "auto-fill" this hidden question with a numeric value based on previous question filled by user (QuestionID: Q3)
Where the value is:
  • 1if the user check the OptionB column
  • 2if the user leave the row blank ( no optionA or B selected )
  • 3if the user check the OptionA column

These hidden question is only an idea, and I also appreciate any other suggestion to simplify the process.
I know that I can use the EquationType question to use buildin function to get other value, but these mean to create 30 hidden Equation Question to have my result.

Thanks

Viewing all articles
Browse latest Browse all 17529

Trending Articles