Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1
  • 2

THEMA: End the survey with a specific answer.

End the survey with a specific answer. 7 Monate 3 Wochen her #111988

  • KUKDAI
  • KUKDAIs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 12
  • Karma: 0
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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

End the survey with a specific answer. 7 Monate 3 Wochen her #111997

The solution is: set condition sex=='male' on each later group.
Frans
Der Administrator hat öffentliche Schreibrechte deaktiviert.

End the survey with a specific answer. 7 Monate 3 Wochen her #112005

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4691
  • Dank erhalten: 943
  • Karma: 409
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

End the survey with a specific answer. 7 Monate 3 Wochen her #112013

  • KUKDAI
  • KUKDAIs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 12
  • Karma: 0
How do i set condition for a group i see conditions that can be set for particular questions only not for a whole group
Der Administrator hat öffentliche Schreibrechte deaktiviert.

End the survey with a specific answer. 7 Monate 3 Wochen her #112014

  • KUKDAI
  • KUKDAIs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 12
  • Karma: 0
it doesn't work. does the survey has to be active to test this or it can be tested in before too.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

End the survey with a specific answer. 7 Monate 3 Wochen her #112016

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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

End the survey with a specific answer. 7 Monate 3 Wochen her #112018

  • KUKDAI
  • KUKDAIs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 12
  • Karma: 0
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
limesurvey.png

shot once i click expression manager
Der Administrator hat öffentliche Schreibrechte deaktiviert.

End the survey with a specific answer. 7 Monate 3 Wochen her #112021

  • holch
  • holchs Avatar
  • ONLINE
  • LimeSurvey Team
  • Beiträge: 3365
  • Dank erhalten: 455
  • Karma: 145
In your case the best / simples solution is the "zero" quota that Tpartner suggested.

For quotas to work, your survey needs to be active.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
Letzte Änderung: 7 Monate 3 Wochen her von holch.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

End the survey with a specific answer. 7 Monate 3 Wochen her #112023

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 7036
  • Dank erhalten: 939
  • Karma: 282
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 ...
Letzte Änderung: 7 Monate 3 Wochen her von DenisChenu.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

End the survey with a specific answer. 7 Monate 3 Wochen her #112024

  • KUKDAI
  • KUKDAIs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 12
  • Karma: 0
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....
Der Administrator hat öffentliche Schreibrechte deaktiviert.
  • Seite:
  • 1
  • 2
Moderatoren: ITEd
Ladezeit der Seite: 0.142 Sekunden
Donation Image