2 disqualification questions, need unique exit URLs

More
7 months 2 days ago - 7 months 2 days ago #186709 by bulgin
Hello, I currently use a formula to provide two different exit URL's depending on the answer to the first multiple choice question in the survey.

It works fine:

End URL: {if(verification != 2, equation1, equation2)}

However, I also need to provide yet a third possible exit URL if the participant answers another disqualifying multiple choice question further into the survey (assuming they haven't activated equation1 already), which is called equation3. I'm pretty sure the EM can be used to accommodate this third equation but I'm a beginner with the equation formulas.

Can Limesurvey do these nested formulas and if so, some pointers would be really helpful?

I can't figure this one out.

Thank you.
Last edit: 7 months 2 days ago by bulgin. Reason: clarify question

Please Iniciar sessão or Create an account to join the conversation.

LimeSurvey Partners
More
7 months 2 days ago #186715 by DenisChenu
Nested if is available

{if(verification != 2, equation1, if(verification2 != 3,equation2,equation3) )}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Please Iniciar sessão or Create an account to join the conversation.

More
7 months 2 days ago - 7 months 2 days ago #186721 by Joffm
As usual, a small sample with the relevant questions (*.lss) would have been helpful.

You're topic is "2 disqualification questions"
So I assume the respondents are screened out if the answer these question in the disqualifying way.
In this case just set a quota with value=0 and the respective quotafull URL

If not, as said before, send a sample.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 7 months 2 days ago by Joffm.

Please Iniciar sessão or Create an account to join the conversation.

More
7 months 1 day ago #186767 by bulgin
As usual DenisChenu suggestions were spot on! Not only did it work, but I learned more coding which will be most beneficial down the road.

Thanks Denis!

Lime Survey rocks!

Please Iniciar sessão or Create an account to join the conversation.

More
7 months 1 day ago #186769 by DenisChenu
The solution from Joffm can be great too :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Please Iniciar sessão or Create an account to join the conversation.

More
7 months 17 hours ago - 7 months 15 hours ago #186817 by bulgin
Okay, so I finally figured out quotas - thanks for suggesting them Joffm.

I have them working but it never loads the terminate URL. Just the standard "Your results have been recorded" if survey is not activated and if activated just returns the user to the beginning of the survey.

Note: running on localhost. Would that nix loading of a URL?

See some screenshots.
Attachments:
Last edit: 7 months 15 hours ago by bulgin. Reason: Figured out quotas

Please Iniciar sessão or Create an account to join the conversation.

More
7 months 12 hours ago #186820 by Joffm
Of course it works only if activated.
That's because you misuse a quota as a screenout.
And a quota can only be calculated if there are answers in the database.

Nevertheless, you should send your survey as *.lss

Joffm


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

Please Iniciar sessão or Create an account to join the conversation.

More
7 months 9 hours ago #186823 by DenisChenu

bulgin wrote: … if activated just returns the user to the beginning of the survey. …

Issue with Ajax Mode in theme , seems fixed in 3.17.7 or before.

Deactivate ajax mode or update your version (and always tell us your version)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Please Iniciar sessão or Create an account to join the conversation.

More
7 months 4 hours ago #186829 by bulgin
Thanks Denis and Joffm - I upgraded to Version 3.17.7+190627 and the redirect using quotas only works with Ajax disabled - which is okay as I don't know what I'm losing by disabling Ajax I guess that's okay.

As well, I receive a notification that the default password is still in use but that's not the case - login password was changed (I assume that message refers to the limesurvey login credentials.)

Thanks to both of you for the excellent support!

Please Iniciar sessão or Create an account to join the conversation.

More
3 weeks 5 days ago #193107 by jennh01851
I am having a similar problem with quotas not auto redirecting. I am using Version 3.17.7+190627
I have a couple of places where they become disqualified. I have equations set up on final page that determine eligible or not. But even on the first question the quoats is not qorking. I have attached my survey.
Attachments:

Please Iniciar sessão or Create an account to join the conversation.

More
3 weeks 5 days ago - 3 weeks 5 days ago #193108 by Joffm
I activated the survey,
set the quota limit to "0", I think this is intended,
changed the quota-url to "http:// www.google.com "

Answered "not interested" and was send to google.
Though I was a bit enoyed to have to answer some more questions, even if I said "not interested".

I did not test the other conditions.
But the quota works, and with correct values in eligible and eligible2 they should work as well.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 weeks 5 days ago by Joffm.

Please Iniciar sessão or Create an account to join the conversation.

More
3 weeks 5 days ago #193114 by jennh01851
So strange. Still not working for me.


I have attached the survey again.
Attachments:

Please Iniciar sessão or Create an account to join the conversation.

More
3 weeks 5 days ago - 3 weeks 5 days ago #193117 by jelo
The survey isn't showing any complete configured quota.
If want to just route people at the end of the survey to different URLs, you might ignore the quota system and create an equation question, which sets the EndURL depending on the status of your proband. You then place the equation question name in the EndURL field.

If you want to use the quota system of LimeSurvey you need to add answers of questions and a URL to the quota.
The URL is then triggered when the chosen answer(s) is over the quota (when set to 0 it's always the case).

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Attachments:
Last edit: 3 weeks 5 days ago by jelo.

Please Iniciar sessão or Create an account to join the conversation.

More
3 weeks 4 days ago #193148 by Joffm
@jelo,
very strange. I see this in the quota management.


@Jennifer,
Still works for me.
But: The two quotas on eligible and eligible2 should be removed. As jelo said: These people are not screened out; they also are at the end of the survey; they only get a different message at the end and are linked to a different end-url (if there really is one ; I do not think you are going to send them to google)

The only remaining real quota is the "interest".
And I recommend either to display this "interest" question separately or to display the other questions on this first page only if "interest" is answered positively (be relevance equation.

Joffm


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

Please Iniciar sessão or Create an account to join the conversation.

More
3 weeks 4 days ago #193159 by jelo

Joffm wrote: @jelo,
very strange. I see this in the quota management.

I used LS4. So there might be an additional layer of issues around LS4 importing LSS files.
If a new attached LSS export occurs, I will test again.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Iniciar sessão or Create an account to join the conversation.

Começar agora!

Basta criar a sua conta e comece a usar o LimeSurvey hoje mesmo.

Registar agora
Subscreva o nosso boletim informativo!

Iniciar sessão