Welcome to the LimeSurvey Community Forum

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

End Message Screen - presenting conditional links possible?

  • RU_Pascal
  • RU_Pascal's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 11 months ago #190733 by RU_Pascal
Hi folks,


I want to present conditional links on the End-message-screen, depending on criteria like gender, occupation, age, etc. All of these information are provided either by attributes or by questions.
If that's not possible I would simply present the links within a new question, but the questionnaire is already online so I would prefer to not disable it and still just edit the End Message Screen.

I'm imagining something like this:
{If (gender=1 & age=2) disp=' www.link1.com '}
{If (gender=2 & age=2) disp=' www.link2.com '}
... etc.

Do you know whether that's possible in the End Message Screen in Limesurvey?

Kind regards,
Pascal
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #190741 by Joffm
Hi, Pascal,
of course it is possible.
But you have to use the correct syntax of a HTML link ("<a href='http:....'>xxx</a>")

And use the correct syntax of the if-statement
www.limesurvey.org/manual/Expression_Man...mplemented_functions

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: RU_Pascal
The topic has been locked.
  • RU_Pascal
  • RU_Pascal's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 11 months ago #190743 by RU_Pascal
Hi Joffm,

Thank you for your reply and the link. It was more like an example for the logic, it was not meant to be limesurvey-specific syntax since I'm that not deep into it that I could write it by heart. :-)
I think I can solve it now on my own with the if function. Thanks!

Kind regards,
Pascal
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose