Check out the LimeSurvey source code on GitHub!

Passing answer from current survey via "End URL"

More
6 years 4 weeks ago #55521 by RhythmScout
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.

Please Log in to join the conversation.

More
6 years 4 weeks ago #55528 by tpartner
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.
The following user(s) said Thank You: RhythmScout

Please Log in to join the conversation.

More
6 years 4 weeks ago #55539 by RhythmScout
Thanks, worked perfectly.

Please Log in to join the conversation.

More
6 years 4 weeks ago #55540 by tpartner
Cool, glad to help.

Cheers,
Tony Partner

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

Please Log in to join the conversation.

More
6 years 4 weeks ago #55569 by Mazi

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)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form