Welcome, Guest
Username: Password: Remember me

TOPIC: end URL conditional on question response?

end URL conditional on question response? 2 months 4 days ago #108879

  • uba
  • uba's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
Hi,

I'd like to set the end url conditional on how survey participants respond to a preceding yes/no type question. Is this possible?

Thanks.

ps. Sorry for posting this in the wrong forum...I'd move it if I could!
Last Edit: 2 months 4 days ago by uba. Reason: ps.
The administrator has disabled public write access.

end URL conditional on question response? 1 month 3 weeks ago #109189

  • jelo
  • jelo's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 467
  • Thank you received: 52
  • Karma: 16
You could use the Expression Manager to select the URL.

On a yes/no question place a similar code like this into the EndURL field:
{if(562999X4X13=='Y','https://www.test','https://www.test222')}
Change the SGQA Code to your Yes/No-Question and change the URLs.
And ensure that the Yes/NO is forced to be answered.
Last Edit: 1 month 3 weeks ago by jelo.
The administrator has disabled public write access.

end URL conditional on question response? 1 month 2 weeks ago #109624

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
Instead of using the SGQA code better use the question code. That also makes your code portable.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

end URL conditional on question response? 1 month 2 weeks ago #109626

  • jelo
  • jelo's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 467
  • Thank you received: 52
  • Karma: 16
Is the Questioncode supported when filling variables via URL too?
The administrator has disabled public write access.

end URL conditional on question response? 1 month 2 weeks ago #109628

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
In the latest 2.05 version this should also work if you use correct and unique question codes.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.179 seconds
Donation Image