How to have 2 different end pages?

More
2 years 9 months ago #109795 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.

Please Log in to join the conversation.

More
2 years 9 months ago #109849 by DenisChenu
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
2 years 9 months ago #109860 by cristinalancioni
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
2 years 9 months ago #109899 by DenisChenu
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
2 years 9 months ago #109903 by cristinalancioni
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 1 month ago - 2 years 1 month ago #117200 by fanepic
Hi there
Does it also work with a Radio Button?

Thanks
Benny
Last Edit: 2 years 1 month ago by fanepic. Reason: Failure

Please Log in to join the conversation.

More
2 years 1 month ago #117201 by DenisChenu

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 1 month ago #117202 by fanepic
Thans Denis

Do you know how the code would look like?

Regard

Please Log in to join the conversation.