Welcome, Guest
Username: Password: Remember me

TOPIC: Add URL parameter and save it!

Add URL parameter and save it! 8 months 1 week ago #106252

  • rmsolar
  • rmsolar's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
Hi all,

I have created a survey with lets say this url:

test.test.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.test.com/limesurvey/index.php/86217...en?whatever=sdd-0001

and to be able to save this parameter's value?
The administrator has disabled public write access.

Add URL parameter and save it! 8 months 1 week ago #106261

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2950
  • Thank you received: 377
  • Karma: 124
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 | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.
The following user(s) said Thank You: blacknail

Add URL parameter and save it! 8 months 1 week ago #106263

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1146
  • Thank you received: 273
  • Karma: 79
Hi,
Please look at this page of the manual
.
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
The administrator has disabled public write access.

Add URL parameter and save it! 8 months 1 week ago #106280

  • rmsolar
  • rmsolar's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
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...
The administrator has disabled public write access.

Add URL parameter and save it! 8 months 1 week ago #106283

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5423
  • Thank you received: 307
  • Karma: 252
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.mydomain.com/index.php/survey/index/...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)limesurvey.org'"
The administrator has disabled public write access.
The following user(s) said Thank You: rmsolar

Add URL parameter and save it! 8 months 1 week ago #106290

  • rmsolar
  • rmsolar's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
thank you very much Mazi!! it worked like this!! :)
Last Edit: 8 months 1 week ago by rmsolar.
The administrator has disabled public write access.

Add URL parameter and save it! 5 days 2 hours ago #114604

  • Kevin
  • Kevin's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
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: 5 days 2 hours ago by Kevin. Reason: typo
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.121 seconds
Donation Image