Welcome, Guest
Username: Password: Remember me

TOPIC: Passing answer from current survey via "End URL"

Passing answer from current survey via "End URL" 3 years 7 months ago #55521

Would like to pass a value from survey A to survey B via the end url of survey A and store in a hidden question in Survey B. Only issue is getting access to the answer of the appropriate question in survey A to insert it into the end url. Is this possible in any way? I have no problems editing the source php if I can be pointed in the proper direction.
The administrator has disabled public write access.

Re: Passing answer from current survey via "End URL" 3 years 7 months ago #55528

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4190
  • Thank you received: 787
  • Karma: 359
I don't know about the PHP code but you can use JavaScript and a cookie to pass the value of an answer to the end page. Have a look at this post - www.limesurvey.org/en/forum/can-i-do-thi...ge-using-survey-data
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.
The administrator has disabled public write access.
The following user(s) said Thank You: RhythmScout

Re: Passing answer from current survey via "End URL" 3 years 7 months ago #55539

Thanks, worked perfectly.
The administrator has disabled public write access.

Re: Passing answer from current survey via "End URL" 3 years 7 months ago #55540

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4190
  • Thank you received: 787
  • Karma: 359
Cool, glad to help.
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.
The administrator has disabled public write access.

Re: Passing answer from current survey via "End URL" 3 years 7 months ago #55569

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
RhythmScout wrote:
Thanks, worked perfectly.
You're welcome!

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

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.113 seconds
Donation Image