Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Terminating survey with an answer

Terminating survey with an answer 3 years 5 months ago #97377

  • mitch54
  • mitch54's Avatar
  • Offline
  • Junior Lime
  • Posts: 38
  • Thank you received: 1
  • Karma: 0
I have a client who wants to be able to terminate the survey if someone answers either or both of two questions with a "no" answer. How would I do that? I'm not an experienced programmer, so I would need some help if any coding has to be done. Would I make a condition? If so, how would I link it to the end page?
The administrator has disabled public write access.

Terminating survey with an answer 3 years 5 months ago #97380

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1894
  • Thank you received: 469
  • Karma: 118
Hello,
You should use quotas (have a look at the manual).. It's very easy.
Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Last Edit: 3 years 5 months ago by Ben_V.
The administrator has disabled public write access.
The following user(s) said Thank You: mitch54

Terminating survey with an answer 3 years 5 months ago #97384

  • mitch54
  • mitch54's Avatar
  • Offline
  • Junior Lime
  • Posts: 38
  • Thank you received: 1
  • Karma: 0
I'm a little confused. When I go to set a quota and it has some of the actions that the Quota tool will take, it says it's only for version 1085RC, but it shows up in version 1.92, which what we have. I have a URL to use, but I'm not sure where to put it. And when I try to test it, it doesn't work. Does it have to be on a separate page? Or should I have it at the end of a page so the "Next" button shows up?
The administrator has disabled public write access.

Terminating survey with an answer 3 years 5 months ago #97402

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 9578
  • Thank you received: 1374
  • Karma: 390
Helo,

Quota is here SINCE 1.85, the after too.
mitch54 wrote:
And when I try to test it, it doesn't work.
Quota test already set answers : then it can not work when testing.

You have to activate your survey and do some test (in general i divide by 10 (or more) the quota to test.

Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.
The following user(s) said Thank You: mitch54

Terminating survey with an answer 3 years 5 months ago #97430

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1894
  • Thank you received: 469
  • Karma: 118
either or both of two questions with a "no"

It means that your quota setting is 0 (= 0 "no" answer to your question is allowed)..
If 2 targeted questions you may need 2 quotas.

Works without problem with your 1.92 LS version
Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The administrator has disabled public write access.
The following user(s) said Thank You: mitch54
Time to create page: 0.691 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form