Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Capturing a variable

Capturing a variable 3 years 4 months ago #98095

  • mitch54
  • mitch54's Avatar
  • Offline
  • Junior Lime
  • Posts: 38
  • Thank you received: 1
  • Karma: 0
I have another question. We are trying to capture a variable for purposes of being able to contact the users of the survey. We have put the number at the end of the URL (/limesurvey/index.php?sid=xxxxx&11111111=en). I'm thinking this is the wrong place to attach it. The variable is a code number to identify the user. Any suggestions?
The administrator has disabled public write access.

Capturing a variable 3 years 4 months ago #98098

  • mdekker
  • mdekker's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 344
  • Thank you received: 68
  • Karma: 38
urls always have key/value pairs: &key=value so you would have to do something like this: /limesurvey/index.php?sid=xxxxx&lang=en&userid=11111

assuming the 'en' came from the survey language to use: en(glish)
---
Menno Dekker
The administrator has disabled public write access.

Capturing a variable 3 years 4 months ago #98114

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9586
  • Thank you received: 1375
  • Karma: 390
You can use too:

/survey/index/sid/895794/newtest/Y/lang/en/parameters/value
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

Capturing a variable 3 years 4 months ago #98131

  • mitch54
  • mitch54's Avatar
  • Offline
  • Junior Lime
  • Posts: 38
  • Thank you received: 1
  • Karma: 0
We tried using this and it didn't work, so we tried using just &id=1111 and it still didn't work. The id column was sequential. And it is the language key/value. Not sure how to proceed.
The administrator has disabled public write access.

Capturing a variable 3 years 4 months ago #98160

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9586
  • Thank you received: 1375
  • Karma: 390
Hello,

manual.limesurvey.org/SGQA_identifier#Us..._the_SGQA_identifier

?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.
Time to create page: 0.380 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form