Hi guys,
I've a question regarding combining two question types, a numerical input with a don't know option.
Problem description:
The problem is not to display the two questions as one but rather setting the appropriate conditions for the questions since one of the 2 questions should be mandatory, so either the participant has to enter a value or select the don’t know option. Furthermore, the numerical input should be used for further questions
What I have tried so far:
1, using a multiple choice question with two answer possibilities, and hide the first checkbox and second comment field with javascript. From the design point this solution worked out very well but at the end I was not able to select the value entered in the first comment field (numerical input) for further conditions, so I had to resign this solution
2, using 2 question types, a numerical input and 2 multiple choice questions. The idea was to have the numerical input and don’t know option not mandatory but the second multiple choice question mandatory. Then, by using javascript, with a onchange event for each of the first two questions to change the second multiple choice question if the participant either enters a value or selects the don’t know option. The problem with this solution is that my javascript skills are more or less moderate so I was not able to get this solution to work
3, having one numerical input and a multiple choice question, the numerical input is mandatory, the multiple choice not. Then, by using javascript, if the participant selects the “don’t know” option, a value is entered in the numerical input field (e.g. 99999) so I can filter the responses later for this value. The problem here is that if the user selects the “don’t know” option, he sees the value in the field, so I was not able to hide the 99999.
4, searching the web , forum limesurvey docs for any solution that could help me with my problem but hadn’t any success for my specific problem
How you guys could help me:
I’d really appreciate if you could either point me in the right direction how I can realize my question. I’m also open for any new suggestions how this question can be programmed, but I’m also willing to discuss my own ideas with you to get this question to work.
I’d really appreciate any suggestions or assistance from you since I have no more ideas how this can be realized.
Thank you very much in advance,
Robert