Welcome, Guest
Username: Password: Remember me

TOPIC: How to have 2 different end pages?

How to have 2 different end pages? 3 months 3 weeks ago #109795

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 administrator has disabled public write access.

How to have 2 different end pages? 3 months 3 weeks ago #109849

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6362
  • Thank you received: 827
  • Karma: 245
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.
The administrator has disabled public write access.
The following user(s) said Thank You: cristinalancioni

How to have 2 different end pages? 3 months 3 weeks ago #109860

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:
The administrator has disabled public write access.

How to have 2 different end pages? 3 months 3 weeks ago #109899

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6362
  • Thank you received: 827
  • Karma: 245
2 is an invalid code, EM work with Q2 for example, but not with only number.

Denis
The administrator has disabled public write access.
The following user(s) said Thank You: cristinalancioni

How to have 2 different end pages? 3 months 3 weeks ago #109903

Hi!
Now it works!
I had to write it into "source code" screen of end message.

Thanks!
Cristina :-)
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.188 seconds
Donation Image