Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : Prefilling question with answer-ID

Prefilling question with answer-ID il y a 9 mois 1 semaine #97866

  • Marhabba
  • Portrait de Marhabba
  • Hors ligne
  • Fresh Lemon
  • Messages : 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?
L'administrateur a désactivé l'accès en écriture pour le public.

Prefilling question with answer-ID il y a 9 mois 1 semaine #97873

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 5838
  • Remerciements reçus 714
  • Karma: 222
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
L'administrateur a désactivé l'accès en écriture pour le public.

Prefilling question with answer-ID il y a 9 mois 1 semaine #97893

  • Marhabba
  • Portrait de Marhabba
  • Hors ligne
  • Fresh Lemon
  • Messages : 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.
L'administrateur a désactivé l'accès en écriture pour le public.

Prefilling question with answer-ID il y a 9 mois 1 semaine #97894

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 5838
  • Remerciements reçus 714
  • Karma: 222
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.
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.129 secondes
Donation Image