Populate token attribute from question response

More
4 years 1 month ago #95570 by mgib134
mgib134 created the topic: Populate token attribute from question response
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.

Please Log in to join the conversation.

More
4 years 1 month ago #95616 by tpartner
tpartner replied the topic: Populate token attribute from question response
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.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now