End the survey with a specific answer.

Mehr
3 Jahre 1 Monat her #111988 von KUKDAI
KUKDAI erstellte das Thema End the survey with a specific answer.
I have a survey which has 32 questions in 4 sections.
the first section will drive the further questions of survey.
my question is
Enter the sex
options
male
female

if it is male then the survey should continue else the survey should end.
I didn't see a way to do it.
Any help from anyone please

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 1 Monat her #111997 von fransmarcelissen
fransmarcelissen antwortete auf das Thema: End the survey with a specific answer.
The solution is: set condition sex=='male' on each later group.
Frans

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 1 Monat her #112005 von tpartner
tpartner antwortete auf das Thema: End the survey with a specific answer.
Or put a quota of 0 on "female" - manual.limesurvey.org/quotas

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 1 Monat her #112013 von KUKDAI
KUKDAI antwortete auf das Thema: End the survey with a specific answer.
How do i set condition for a group i see conditions that can be set for particular questions only not for a whole group

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 1 Monat her #112014 von KUKDAI
KUKDAI antwortete auf das Thema: End the survey with a specific answer.
it doesn't work. does the survey has to be active to test this or it can be tested in before too.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 1 Monat her #112016 von fransmarcelissen
fransmarcelissen antwortete auf das Thema: End the survey with a specific answer.
manual.limesurvey.org/Creating_a_question_group
Show/Hide groups conditionally
But is the example correct? Should numKids = 3 not be numKids == 3 ?
I have hundreds of surveys that use this feature with ==).
The survey does not have to be active.
Frans

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 1 Monat her #112018 von KUKDAI
KUKDAI antwortete auf das Thema: End the survey with a specific answer.
I went to the Expression Manager but i don't see any place where i can say hide this group.
I saw the examples for my screen is not same. i don't see a place to do that.
I am using in a Windows Server 2008.
PHP 5.5
xampp

here is the screen

shot once i click expression manager
Anhang:

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 1 Monat her - 3 Jahre 1 Monat her #112021 von holch
holch antwortete auf das Thema: End the survey with a specific answer.
In your case the best / simples solution is the "zero" quota that Tpartner suggested.

For quotas to work, your survey needs to be active.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Letzte Änderung: 3 Jahre 1 Monat her von holch.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 1 Monat her - 3 Jahre 1 Monat her #112023 von DenisChenu
DenisChenu antwortete auf das Thema: End the survey with a specific answer.

fransmarcelissen schrieb: But is the example correct? Should numKids = 3 not be numKids == 3 ?

You're totally right !!!!

Can you fix it please :)

And for Quota to 0 : survey need to be activated .
PS: If omeone can put a featre request to test quota at 0 even if survey is not activated ...

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Letzte Änderung: 3 Jahre 1 Monat her von DenisChenu.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 1 Monat her #112024 von KUKDAI
KUKDAI antwortete auf das Thema: End the survey with a specific answer.
to Holch,
how do i even add that kind of condition.
I have logic for show hide question it is working fine without the survey being active.
My conditions is i have to end the survey in middle if the answer if the answer to a question is different.
I don't see a place in the survey tool where i can add that kind of logic....

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 1 Monat her - 3 Jahre 1 Monat her #112027 von holch
holch antwortete auf das Thema: End the survey with a specific answer.
It is not "conditions", it is quota that you need.

Here is how to use them: manual.limesurvey.org/quotas

If you set the quota value for the answer "female" to "0", the survey will be ended there. You can set the message that is shown to respondends who are "screened out" (that is how we call this process in market research, if someone does not fit into the target group for a survey).

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Letzte Änderung: 3 Jahre 1 Monat her von holch.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 1 Monat her #112028 von KUKDAI
KUKDAI antwortete auf das Thema: End the survey with a specific answer.
Looks like there is a Field called Relevance Equation in each question group we can write the conditions with the question code and answers to make it visible

like

Sex=="Male"
it will be visible only when sex is male else it will be hidden.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 1 Monat her #112029 von holch
holch antwortete auf das Thema: End the survey with a specific answer.
Correct. This is the other option. But I would only use this, if there are still questions to answer for them. However, from what you described, you are not interested in the answers of "female" respondents in this case, because they are not part of the target group. So why have a condition in every single question/group that follows instead of just saying thank you and finish the survey for them at this point with a zero quota?

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 1 Monat her #112034 von fransmarcelissen
fransmarcelissen antwortete auf das Thema: End the survey with a specific answer.
Holch may be right that quota is a better solution. But the filter is still a very useful solution for more complicated situations(and it also works when the survey is not active).
If you cannot find it, look at the attached screendump.
Anhang:

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
3 Jahre 1 Monat her #112037 von holch
holch antwortete auf das Thema: End the survey with a specific answer.
No doubt that the filter / condition is a VERY useful tool. Because sometimes there are questions, that just make sense for a certain target.

Why should I ask someone what the brand of his car is, when he answered before that he doesn't have a car.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten