Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Populate token attribute from question response

Populate token attribute from question response 1 Jahr 4 Monate her #95570

  • mgib134
  • mgib134s Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 10
  • Karma: 0
I'm wondering if/how I can fill a token attribute field from a question's response, and show/hide future questions based off of that field. Specifically, what we need to do is add two token attribute fields, "Company" and "Department." First question as a drop down, "What company do you work for?" and store that in attribute1. Second question, "What department do you work in?" and show departments for whichever company they work for, and store that response in attribute2.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Populate token attribute from question response 1 Jahr 4 Monate her #95616

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4191
  • Dank erhalten: 787
  • Karma: 359
Well. not "out of the box", but in theory it should be possible to make an AJAX call to a remote PHP script that writes the appropriate value to the tokens table in the database.
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.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.112 Sekunden
Donation Image