Check out the LimeSurvey source code on GitHub!

Add URL parameter and save it!

More
2 years 10 months ago - 1 year 4 months ago #106252 by rmsolar
Hi all,

I have created a survey with lets say this url:

test.example.com/limesurvey/index.php/862176/lang-en

Everything works fine.

My question is that: Can I add a parameter at the end of url like test.example.com/limesurvey/index.php/86...en?whatever=sdd-0001

and to be able to save this parameter's value?
Last Edit: 1 year 4 months ago by DenisChenu. Reason: example.com is done for example link
The following user(s) said Thank You: giasu365

Please Log in to join the conversation.

More
2 years 10 months ago #106261 by holch
Yes and there should be quite a few threads about how to do this in the forum and probably a solution in the workaround section of the manual.

What you need to do is read the value into a hidden text question (via css).

Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Workarounds
The following user(s) said Thank You: blacknail

Please Log in to join the conversation.

More
2 years 10 months ago #106263 by Ben_V
Hi,
Please look at this page of the manual
.

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)

Please Log in to join the conversation.

More
2 years 10 months ago #106280 by rmsolar
Thanks for the responses! I have read the manual and also the link that Ben_V provided but still I don't get how to use the {PASSTHRU:<paramname>} .. I defined in the Panel integration a paramname but still I can't save it and see it in the responses.

To make more clear what I want is to have the URL of the survey as I write it before
test.test.com/limesurvey/index.php/862176/lang-en

and then send to the participants via email specific URL for each user of the above (same) survey like

test.test.com/limesurvey/index.php/862176/lang-en?whatever=sdd-0001

and to be able to see the responses based on the parameter of the url...

Please Log in to join the conversation.

More
2 years 10 months ago - 1 year 4 months ago #106283 by Mazi
If you have a short text question with question code "mid" you can adjust your URL as follows to pass data into that question:
www.example.com/index.php/survey/index/s...8/newtest/Y/lang/de/ mid/55555


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'"
Last Edit: 1 year 4 months ago by DenisChenu. Reason: example.com is done for example link
The following user(s) said Thank You: rmsolar

Please Log in to join the conversation.

More
2 years 10 months ago - 2 years 10 months ago #106290 by rmsolar
thank you very much Mazi!! it worked like this!! :)
Last Edit: 2 years 10 months ago by rmsolar.

Please Log in to join the conversation.

More
2 years 1 month ago - 2 years 1 month ago #114604 by Kevin01
I have read the documentation for several hours and I can't figure it out. I also posted a similar question here: www.limesurvey.org/en/forum/installation...-several-id-s#114532

Using a similar url to the link below populates the answer with 1234567.

survey.com/index.php/survey/index/sid/689956/newtest/Y/lang/en/R5/1234567
Last Edit: 2 years 1 month ago by Kevin01. Reason: typo

Please Log in to join the conversation.

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