Prefilling survey answers using the survey URL

More
2 years 11 months ago #115553 by stevelegare
stevelegare created the topic: Prefilling survey answers using the survey URL
I want to prefill an answer via a URL parameter.

I missed something from the ( manual )

I am using Version 2.05+ Build 141210.

My survey ID is 899326
Group ID 1789 or group name "g1"
Question ID 25694 (List (dropdown))
Answer code I want "a3"

I try with link like
www.example.com/index.php/survey/index/s.../Y?QCODE=q2&CODE2=a3

What did I missed?

Thanks

Please Log in to join the conversation.

More
2 years 11 months ago - 2 years 11 months ago #115568 by tpartner
tpartner replied the topic: Prefilling survey answers using the survey URL
Try this:

https://www.example.com/index.php/survey/index/sid/899326/newtest/Y/q2/a3

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 2 years 11 months ago by tpartner.

Please Log in to join the conversation.

More
2 years 11 months ago #115615 by stevelegare
stevelegare replied the topic: Prefilling survey answers using the survey URL
Great this is what I was looking for.

Please Log in to join the conversation.

More
2 years 11 months ago #115619 by stevelegare
stevelegare replied the topic: Prefilling survey answers using the survey URL
Can I do this with multiple prefill answers?
Like something
www.example.com/index.php/survey/index/s...ewtest/Y/q2/a3/q3/a1 (doesn't work)

Please Log in to join the conversation.

More
2 years 11 months ago #115630 by Mazi
Mazi replied the topic: Prefilling survey answers using the survey URL
Usually that should also work with multiple questions. Make sure the question code and passed answer codes are correct.


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.

More
2 years 11 months ago #115631 by stevelegare
stevelegare replied the topic: Prefilling survey answers using the survey URL
Sorry I was not clear enough.
Is it possible to prefill 2 answers (q2 and q3) with one URL?

Please Log in to join the conversation.

More
2 years 11 months ago #115637 by Mazi
Mazi replied the topic: Prefilling survey answers using the survey URL
Yes, that should be doable.


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.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!