Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

How to have 2 different end pages?

  • cristinalancioni
  • cristinalancioni's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 9 months ago #109795 by cristinalancioni
How to have 2 different end pages? was created by cristinalancioni
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.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 9 months ago #109849 by DenisChenu
Replied by DenisChenu on topic How to have 2 different end pages?
Use EM:

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

In the final page.
Code:
{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 , plugin development .
I don't answer to private message.
The following user(s) said Thank You: cristinalancioni
The topic has been locked.
  • cristinalancioni
  • cristinalancioni's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 9 months ago #109860 by cristinalancioni
Replied by cristinalancioni on 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.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 9 months ago #109899 by DenisChenu
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
The following user(s) said Thank You: cristinalancioni
The topic has been locked.
  • cristinalancioni
  • cristinalancioni's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 9 months ago #109903 by cristinalancioni
Replied by cristinalancioni on 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 :-)
The topic has been locked.
  • Taereian_43648
  • Taereian_43648's Avatar
  • Visitor
  • Visitor
9 years 1 month ago - 9 years 1 month ago #117200 by Taereian_43648
Replied by Taereian_43648 on topic How to have 2 different end pages?
Hi there
Does it also work with a Radio Button?

Thanks
Benny
Last edit: 9 years 1 month ago by Taereian_43648. Reason: Failure
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 1 month ago #117201 by DenisChenu
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • Taereian_43648
  • Taereian_43648's Avatar
  • Visitor
  • Visitor
9 years 1 month ago #117202 by Taereian_43648
Replied by Taereian_43648 on topic How to have 2 different end pages?
Thans Denis

Do you know how the code would look like?

Regard
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose