Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Predefined Answer in Matrix Questions

  • hsvsuper1
  • hsvsuper1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 8 months ago #219121 by hsvsuper1
Predefined Answer in Matrix Questions was created by hsvsuper1
Good morning,

I would like to set up a matrix question, where one answer ("none") is already automatically ticked when the question arises, without any user input. As there are quite a lot matrix items and "none" will be the most frequent answer, this would rise user comfort and lower the probability, that users do not tick any option. I've found this setting in other question types, is it also available in matrix questions?

Thanks!
Johannes
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months ago #219125 by Joffm
Replied by Joffm on topic Predefined Answer in Matrix Questions
Hi,

and lower the probability, that users do not tick any option

Does this mean your question is not mandatory?
Then this behaviour is the default.
 

If you want to change the text of "no answer", set the setting in "Presentation / Show "No answer" to "OFF".

Now - and in a mandatory question - you have to add your own answer option "None"

Create a question of type "equation" before your array and set the subquestions to the desired value.

{Q1_SQ001=6}
{Q1_SQ002=6}
{Q1_SQ003=6}

with
SQ001,... : subquestion codes
6: answer option code of your "none"
​​​​​​​ 

Joffm

​​​​​​​By the way: Well, this is an offer to the participants not to click anything but proceed quickly without reading anything.
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • hsvsuper1
  • hsvsuper1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 8 months ago #219135 by hsvsuper1
Replied by hsvsuper1 on topic Predefined Answer in Matrix Questions
Hi Joffm,

thanks for your response and help. Its possible to make the question mandatory, although not necessary for our study, and also not an issue, that they would just scroll past, but lets move on from that:

I'm afraid I do not have any experience with the question type "equation". How do I connect this question to the next one with my matrix? I understand the meaning of the equation and how it is set up, but in which field do I enter this information? ({Q1_SQ001=6}). In the relevance equation? somewhere else?
I've tried a lot, nothing works, I'm sorry I'm so confused...

Usually, I would hide the equation question afterwards, right?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months ago #219141 by tpartner
Replied by tpartner on topic Predefined Answer in Matrix Questions

Create a question of type "equation" before your array and set the subquestions to the desired value.

Do you not need a check to see that the sub-question is not already answered?

Code:
{Q1_SQ001 = if(is_empty(Q1_SQ001), 6, Q1_SQ001)}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months ago #219144 by Joffm
Replied by Joffm on topic Predefined Answer in Matrix Questions

How do I connect this question to the next one with my matrix? I understand the meaning of the equation and how it is set up, but in which field do I enter this information? ({Q1_SQ001=6}).


I thought it was obvious that "Q1" is the Code of the array question.

@Tony

Do you not need a check to see that the sub-question is not already answered?
 

I admit I miss this most of the time.
Usually I do not allow to go back in a survey.

Joffm

 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • hsvsuper1
  • hsvsuper1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 8 months ago #219146 by hsvsuper1
Replied by hsvsuper1 on topic Predefined Answer in Matrix Questions
I still do not understand how to set up the "equation" question and where to enter the predefined information for the subquestions of my matrix.

Sorry for the confusion, I would be very happy about clarification
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose