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

SUJET : LimeSurvey 2.0 - Anonymous Survey with Custom Code

LimeSurvey 2.0 - Anonymous Survey with Custom Code il y a 1 an 8 mois #91790

  • thomsol
  • Portrait de thomsol
  • Hors ligne
  • Fresh Lemon
  • Messages : 4
  • Karma: 0
I want to deliver to my customers a unique code, which they will enter when starting a survey. I then need to parse this code (looking up in a database) which will then direct them to appropriate questions in the survey. Example: if they enter code 001002, the first half will tell me the store they visited (001), the second half (002) will tell me when they visited. I then want to display on the second screen "Thank you for visiting our New York store" (as dictated by the 001.

Do I need to introduce a custom question type (and where is documentation for this), or is there some "hook" I can use to do these lookups?

I should not require them to sign in, the code they enter will be sufficient, so it should be an anonymous survey.
L'administrateur a désactivé l'accès en écriture pour le public.

Re: LimeSurvey 2.0 - Anonymous Survey with Custom Code il y a 1 an 8 mois #91805

  • tpartner
  • Portrait de tpartner
  • Hors ligne
  • LimeSurvey Team
  • Messages : 4266
  • Remerciements reçus 803
  • Karma: 368
You should be able to do this with a simple short-text question and Expression Manager/relevance.

In your relevance equations, you can use the string functions to handle the entered code.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Dernière édition: il y a 1 an 8 mois par tpartner.
L'administrateur a désactivé l'accès en écriture pour le public.
Cet utilisateur a été remercié pour son message par: thomsol
Modérateurs: ITEd
Temps de génération de la page : 0.165 secondes
Donation Image