Welcome, Guest
Username: Password: Remember me

TOPIC: Display a different end page based on logic and limit access to answers

Display a different end page based on logic and limit access to answers 2 months 2 weeks ago #111464

  • spiceaw
  • spiceaw's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 3
  • Karma: 0
Hi,

I have 2 questions related to LimeSurvey:

1. When creating a survey, you define what will be the end page message displayed.
Is it possible to have a different end page text displayed based on the answers to some of the survey questions?
E.g. he answered TV and Like Movies, he sees an end page with an ad for a LED 3D TV. But if he answered Music and Browsing he sees on the end page an ad for an iPod Touch

2. I use a survey for a few products with only a couple of changes based on the product selected in the first question.
Can I give product manager A only access to the answers/statistics of users who selected product A, and to product manager B only access to the answers/statistics of users who selected product B?

Thanks,
Julian
The administrator has disabled public write access.

Display a different end page based on logic and limit access to answers 2 months 2 weeks ago #111465

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2851
  • Thank you received: 359
  • Karma: 124
There is not separate access based on the type. Either they have access to the statistics or they don't...

For the different endpages: I don't think that you can modifiy the end page depending on the answers (but maybe it is possible with Expression Manager).

But you could display a text page at the end, before the end page. There you can definitely display things depending on previous answers, either via conditions (showing different boiler plate questions / text display) or you use just one text display question but modifiy it's content via Expression Manager.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Display a different end page based on logic and limit access to answers 2 months 2 weeks ago #111466

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2851
  • Thank you received: 359
  • Karma: 124
There is not separate access based on the type. Either they have access to the statistics or they don't...

For the different endpages: I don't think that you can modifiy the end page depending on the answers (but maybe it is possible with Expression Manager).

But you could display a text page at the end, before the end page. There you can definitely display things depending on previous answers, either via conditions (showing different boiler plate questions / text display) or you use just one text display question but modifiy it's content via Expression Manager.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.
The following user(s) said Thank You: spiceaw

Display a different end page based on logic and limit access to answers 2 months 2 weeks ago #111469

  • spiceaw
  • spiceaw's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 3
  • Karma: 0
I thought about using a text display and changing its content with EE.
My issue with this is that I want to include an external link into the text. So if the user clicks that link and leave the survey before the end text, his response will be considered incomplete by the system.
The administrator has disabled public write access.

Display a different end page based on logic and limit access to answers 2 months 2 weeks ago #111475

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4272
  • Thank you received: 806
  • Karma: 369
You can use Expression Manager to display dynamic content in the end message.

Either directly like this:
{if(q1 == 'TV', '<p>Some TV stuff...</p>', '<p>Some iPod stuff...</p>')}

Or perhaps it would be easier to define the content in equation questions and then pipe those in:
{if(q1 == 'TV', equationTV, equationIPod)}
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 2 months 2 weeks ago by tpartner.
The administrator has disabled public write access.
The following user(s) said Thank You: spiceaw

Display a different end page based on logic and limit access to answers 2 months 2 weeks ago #111489

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2851
  • Thank you received: 359
  • Karma: 124
Well, Tpartner answered the doubt if it is possible to use the EE in the end message. Obviously it does, so this should be the best solution for you.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Display a different end page based on logic and limit access to answers 2 months 2 weeks ago #111500

  • spiceaw
  • spiceaw's Avatar
  • OFFLINE
  • Silver Donor
  • Posts: 3
  • Karma: 0
Great, thanks for the solution.
I will give this a try.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.216 seconds
Donation Image