Welcome to the LimeSurvey Community Forum

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

Array

  • acasadei90CRT
  • acasadei90CRT's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 11 months ago #183651 by acasadei90CRT
Replied by acasadei90CRT on topic Array
Hello Joffm,

Thank you very much for your suggest, it is also necessary to add that condition.

What is the code that I can use in order to set this condition on subquestion validation?

I meant:
SUM("subquestionvalue1", "subquestionvalue2", ……)

What is the code for the "subquestionvalue"?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago - 4 years 11 months ago #183661 by Joffm
Replied by Joffm on topic Array
Hi, Andrea,

What is the code for the "subquestionvalue"?

This is not a serious question, is it?

Remember, what you entered in the subquestion relevance of the second question.
Something like "s1000_SQ001>2".
Meaning: The value of the subquestion "SQ001" of question "s1000" is greater then 2.
Here you have your subquestion value.

I thought about the validation a bit more.
Except the validations "sum==3", "count==6", "all unique" you have to check if the question is displayed. So you have to add sommething like the above "s1000_SQ001>2".

long.

So I think about a different design.
Instead of using an array(numbers)" with all the validation, use a ranking question where everything is built-in.

Have a look.

File Attachment:

File Name: limesurvey...3793.lss
File Size:36 KB

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 4 years 11 months ago by Joffm.
The following user(s) said Thank You: acasadei90CRT
The topic has been locked.
  • acasadei90CRT
  • acasadei90CRT's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 11 months ago #183815 by acasadei90CRT
Replied by acasadei90CRT on topic Array
Thank you Joffm.

Sorry for the delay but I tried to adopt your solution to another questionnaire and I have just finished.

I had never used the ranking question but it is perfect for my purposes.

Thanks again and I wish you a great weekend.

Best Regards,

Andrea
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose