Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Prefilling question with answer-ID

Prefilling question with answer-ID 1 Jahr 2 Monate her #97866

  • Marhabba
  • Marhabbas Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 4
  • Karma: 0
Hi guys.

Due to the length of our survey we have had to split it into two parts. As it is right now we are using an end URL in the first part to automatically send the respondent to part two.

The problem is that we need some way to identify which answers of part 1 and 2 that come from the same respondent. If we were using tokens we could just prefill a hidden question in part two with the token from part one but since this is a public survey we have no tokens and we don't want to use public registration.

We were thinking that maybe we could prefill the answer-ID which is listed under "response and statistics." Is this possible?

Or is there another way to match two surveys without using tokens?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Prefilling question with answer-ID 1 Jahr 2 Monate her #97873

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6334
  • Dank erhalten: 818
  • Karma: 243
Hello,

You can use {SAVEDID} in End Url and :
manual.limesurvey.org/Workarounds:_Surve...using_the_survey_URL (this part are to be moved elsewhere ...)

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Prefilling question with answer-ID 1 Jahr 2 Monate her #97893

  • Marhabba
  • Marhabbas Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 4
  • Karma: 0
This works perfectly! Thanks alot!

Is there anywhere to see which attributes are available to use within {}? Right now it feels like a guessing game trying to find the correct strings to use.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Prefilling question with answer-ID 1 Jahr 2 Monate her #97894

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6334
  • Dank erhalten: 818
  • Karma: 243
Yes,

You're right.

Think this page : manual.limesurvey.org/Expression_Manager#Access_to_Variables must be updated with:
  • Specific variabe ( {QID}, {SAVEDID}, {TEMPLATEURL} etc ...)
  • Question code variable ( {QCODE.NAOK} etc ...)
Or maybe a new page in manual (FAQ , Glossary, other ?)

Denis
PS: manual is a wiki, you have an account on forum : same account for wiki.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.130 Sekunden
Donation Image