Welcome, Guest
Username: Password: Remember me

TOPIC: Capturing a variable

Capturing a variable 1 year 2 months ago #98095

  • mitch54
  • mitch54's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 34
  • 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 1 year 2 months ago #98098

  • mdekker
  • mdekker's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 341
  • 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 1 year 2 months ago #98114

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6318
  • Thank you received: 812
  • Karma: 242
You can use too:

/survey/index/sid/895794/newtest/Y/lang/en/parameters/value
The administrator has disabled public write access.

Capturing a variable 1 year 2 months ago #98131

  • mitch54
  • mitch54's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 34
  • 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 1 year 2 months ago #98160

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6318
  • Thank you received: 812
  • Karma: 242
Hello,

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

?
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.110 seconds
Donation Image