Conditional re-directing

More
1 week 5 days ago #168394 by Shmilc123
Shmilc123 created the topic: Conditional re-directing
Hello :)
I'm building a simple survey with 2 open-ended questions, and 5 multiple option questions.
One of my questions asks: "How would you rate our services" (1-5 stars).
I want to send people who gave 3 stars or below to page X, and people who gave 4 stars or above to page Y.

With the free edition, can I condition the "thank you page" that comes after the survey - depending on the answer?

Thanks a lot ;]

Please Log in or Create an account to join the conversation.

More
1 week 5 days ago #168404 by holch
holch replied the topic: Conditional re-directing
You can use the end URL feature and you can use Expression Manager in this field, where you can check the value given in the specific question and then redirect to the specific URL.

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

Please Log in or Create an account to join the conversation.

More
1 week 2 days ago #168512 by Shmilc123
Shmilc123 replied the topic: Conditional re-directing
First of all thanks for the help, it's not taken for grantedץ

Secondly, I'm an extremely Fresh Lemon XD
So, could you elaborate a little bit about the steps I have to take?

Please Log in or Create an account to join the conversation.

More
1 week 2 days ago #168514 by holch
holch replied the topic: Conditional re-directing
Please, no private messages about support. This should be covered in the forum, this way others also might be able to learn from it.

What did you do so far? Did you read about the End URL Feature? Did you read about Expression Manager?

What are your specific questions? You need to create an expression that reads in the response to the rating question and then if "response > 3" --> put the URL Y --> else URL X.

Something like this:

{if(response > 3, "http://urly", "http://urlx")}


Assuming that the question code of the rating question is "response" and the answer options are 1, 2, 3, 4, 5.

However, as we don't know the structure of your survey and specifically for the rating question, you will have to make the necessary adaptions to this code.

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

Please Log in or Create an account to join the conversation.

More
1 week 2 days ago #168516 by Joffm
Joffm replied the topic: Conditional re-directing
Hi, you did not clarify, what means:

I want to send people who gave 3 stars or below to page X, and people who gave 4 stars or above to page Y.


Are these LimeSurvey pages, or other pages in the web?

holch thought of the second, when saying "end-url".

Well, there is the option "end-url" in "Text elements", and the option "automatically load url when survey completed" in "Presentation"

The "end-url" looks like "http://www.to_this_site_I_send_you.com" or " limesurvey.org "

And of course you can use Expression Manager to fill the end-url, e.g.
{if(Q1<4,"http://www.the_site_of_three_stars_and_less.com","http://www.the_site_of_four_stars_and_more.com")}

Read the manual about Expression Manager, and study the Demo surveys.


BUT: If you only want to show different questions to the people depending on their star rating, just use relevance equation.

With the free edition, can I condition the "thank you page" that comes after the survey - depending on the answer?

No, but create a page of type "text display" just before the end.

Best regards
Joffm

Please Log in or Create an account to join the conversation.

More
1 week 2 days ago - 1 week 2 days ago #168517 by holch
holch replied the topic: Conditional re-directing

Are these LimeSurvey pages, or other pages in the web?

holch thought of the second, when saying "end-url".


Great catch, Joffm! Indeed, it could also be just a normal condition / relevance equation.

So yes, we need more information / clarification what you are actually trying to do. When I read "re-directing" I am automatically thinking of url redirecting and not about branching or conditions.

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
Last Edit: 1 week 2 days ago by holch.

Please Log in or Create an account to join the conversation.

More
6 days 17 hours ago #168576 by Shmilc123
Shmilc123 replied the topic: Conditional re-directing
Thanks a lot for the help guys, I'll be more specific.

I want everyone to take the same survey with the same questions.
I don't want the survey itself to change depending on the answers,
but only the "thank you page" that comes after they finish the survey.


I just want people who gave 4+ stars to submit a review after they finish (PAGE X),
and people who gave 3- stars to see another page.

Please Log in or Create an account to join the conversation.

More
6 days 14 hours ago - 6 days 14 hours ago #168580 by tpartner
tpartner replied the topic: Conditional re-directing
You can place relevance on groups to hide/show them depending on previous answers.

Please refer to the manual - manual.limesurvey.org/Question_groups_-_...reate_question_group

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 6 days 14 hours ago by tpartner.

Please Log in or Create an account to join the conversation.

More
5 days 20 hours ago - 5 days 20 hours ago #168618 by holch
holch replied the topic: Conditional re-directing
Still not 100% clear. Because when I read it, I thought: Oh, clearly he wants to redirect to an external page, where people can then do their review. So you could just apply my solution with the End URL.

Now it seems that Tpartner understood it totally different, and thinks you want some kind of text question in Limesurvey for the review.

Both completely valid interpretations of what you describe.

So, what exactly is "Page X"? Another "page" (or question) in the survey or an external page (not part of the Limesurvey survey), e.g. Google Reviews, Yelp, etc.?

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
Last Edit: 5 days 20 hours ago by holch.

Please Log in or Create an account to join the conversation.

More
4 days 16 hours ago #168709 by Shmilc123
Shmilc123 replied the topic: Conditional re-directing
Ok so the star-rating in the survey suppose to filter the -3 from the +4.

When they finish the survey, I want to send +4 people to an external page (google reviews).
And I want to send -3 people to another external page.

Please Log in or Create an account to join the conversation.

More
4 days 16 hours ago #168711 by holch
holch replied the topic: Conditional re-directing
Then you can just follow my instructions about the End URL. You can use Expression Manager in the end url.

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

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!