How to have 2 different end pages?

More
3 years 1 month ago #109795 by cristinalancioni
cristinalancioni created the topic: How to have 2 different end pages?
Hi!
I would like to have a questionnaire with a final question with replies: yes/no.
If user select "yes", then he complete the questionnaire and see a page containing comments and an external link.
If user select "no", then he complete the questionnaire and see a page containing only comments.

How can I do that?

Thanks in advance.
Cristina.

Please Log in to join the conversation.

More
3 years 1 month ago #109849 by DenisChenu
DenisChenu replied the topic: How to have 2 different end pages?
Use EM:

Last question:
YN : Do you want to see the link

In the final page.
{if(YN.NAOK=='Y','<a href="http://example.org">example</a>','')}

If you want multiline : you have to do line by line.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: cristinalancioni

Please Log in to join the conversation.

More
3 years 1 month ago #109860 by cristinalancioni
cristinalancioni replied the topic: How to have 2 different end pages?
Thanks for the reply!
However it doesn't work... I insert the code into "End message" area of the questionnaire... see attachments...
What can I do?

Thanks in advance.
Best,
Cristina.
Attachments:

Please Log in to join the conversation.

More
3 years 1 month ago #109899 by DenisChenu
DenisChenu replied the topic: How to have 2 different end pages?
2 is an invalid code, EM work with Q2 for example, but not with only number.

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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: cristinalancioni

Please Log in to join the conversation.

More
3 years 1 month ago #109903 by cristinalancioni
cristinalancioni replied the topic: How to have 2 different end pages?
Hi!
Now it works!
I had to write it into "source code" screen of end message.

Thanks!
Cristina :-)

Please Log in to join the conversation.

More
2 years 5 months ago - 2 years 5 months ago #117200 by fanepic
fanepic replied the topic: How to have 2 different end pages?
Hi there
Does it also work with a Radio Button?

Thanks
Benny
Last Edit: 2 years 5 months ago by fanepic. Reason: Failure

Please Log in to join the conversation.

More
2 years 5 months ago #117201 by DenisChenu
DenisChenu replied the topic: How to have 2 different end pages?

fanepic wrote: Hi there
Does it also work with a Radio Button?

Thanks
Benny

Yes, but Equation need to be adapted.

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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
2 years 5 months ago #117202 by fanepic
fanepic replied the topic: How to have 2 different end pages?
Thans Denis

Do you know how the code would look like?

Regard

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now