- Posts: 112
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Prefilling survey answers using the survey URL
- stevelegare
- Topic Author
- Offline
- Premium Member
Less
More
9 years 4 months ago #115553
by stevelegare
Prefilling survey answers using the survey URL was created by stevelegare
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
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
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
9 years 4 months ago - 9 years 4 months ago #115568
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Prefilling survey answers using the survey URL
Try this:
Code:
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: 9 years 4 months ago by tpartner.
The topic has been locked.
- stevelegare
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 112
- Thank you received: 0
9 years 4 months ago #115615
by stevelegare
Replied by stevelegare on topic Prefilling survey answers using the survey URL
Great this is what I was looking for.
The topic has been locked.
- stevelegare
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 112
- Thank you received: 0
9 years 4 months ago #115619
by stevelegare
Replied by stevelegare on 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)
Like something
www.example.com/index.php/survey/index/s...ewtest/Y/q2/a3/q3/a1 (doesn't work)
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
9 years 4 months ago #115630
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on 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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- stevelegare
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 112
- Thank you received: 0
9 years 4 months ago #115631
by stevelegare
Replied by stevelegare on 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?
Is it possible to prefill 2 answers (q2 and q3) with one URL?
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
9 years 4 months ago #115637
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Prefilling survey answers using the survey URL
Yes, that should be doable.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.