Welcome to the LimeSurvey Community Forum

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

Exclusion group

  • aehaba1
  • aehaba1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #172083 by aehaba1
Exclusion group was created by aehaba1
Hi,

If, for example I want to ask this kind of a question:

What year you were born?

and I want to examine people that were born only from 1990-2000, and those who were not in this year, i would like the

system to give them the answer that there not in the research group or to write a different message.


How I can do it?

Is this question called, Array filter exclusion?


Thanks in advance
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
6 years 3 months ago #172085 by DenisChenu
Replied by DenisChenu on topic Exclusion group
www.limesurvey.org/manual/Survey_quotas

2 solutions :
1. create one quota at 0 for each year
2. Create an Yes/No question, set Y with EM with default value, put this question just after the year question. And set one quota to Y

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 3 months ago #172086 by Joffm
Replied by Joffm on topic Exclusion group
And if they are not in the research group they are not allowed to participate?

Here you have to use "quotas" (with a limit of 0)

Unfortunately the quota management of LS is not the very best.
You cannot use questions of type "numerial input" or "date/time" in quotas.
But this is no difficulty.
By an equation like {if(Q1<1990 OR Q1>2000,0,1)} you create a single answer (0 or 1)
This result you can use in the quota.

Or do you just avoid entries not in the range?
Here you can use "Minimum" , "Maximum" settings in numerical questions or your own validations.


"Array filter exclusion" is something quite different.
Here you only display answer options that were NOT selected in a previous (multipunch) question.

Best you read in the manual about question types and quotas:
www.limesurvey.org/manual/Question_types
www.limesurvey.org/manual/Survey_quotas


If you have further questions about that, please send a small sample (*.lss)

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose