Conditionals on 5 questions. case YES Then, case NO then.

Mehr
1 Monat 1 Woche her #194599 von MonjeMiroku
I have a group of questions and within that group of questions I have 5, I need help to do that at the end of those 5 questions and with the conditional that the 5 are not, it is not necessary to continue answering the survey, but in case Any question, yes, continue with the survey.

The detail is that I have only achieved that by positioning myself in question 5 I can put conditional on previous questions, but .. avoiding question number 5, is this correct?

I hope your help, have a good day. :)
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners
Mehr
1 Monat 1 Woche her #194602 von Joffm
Hi,
after your 5 questions create a question of type equation.
I assume the type of these 5 questions is "Yes/No".
Here you set something like:
{sum(if(t1=="Y",1,0),if(t2=="Y",1,0),if(t3=="Y",1,0),if(t4=="Y",1,0),if(t5=="Y",1,0))}
To understand read the manual about implemented functions:
https://manual.limesurvey.org/Expression_Manager#Implemented_Functions
and Expression Manager in general:
https://manual.limesurvey.org/Expression_Manager
By the way: This is called Expression script in version 4.x.

Well, you see, if all five questions were not answered "Yes" the sum is still "0".
Now you create a quota with limit "0" on this equation, so people with a value of "0" are screened out.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Jetzt loslegen!

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

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha