It's possible to restrict options available in a dropdown based on the access token used to access the survey? For example, we have a list o sales agents and we would like to ask the same questions to a range of clients. But each client should see/select in the dropdown list only the sales agent who had contact with this client and signed a contract.
The only option i've found so far is to create a individual survey for each sales agent, but we have 53 agents..
The way to do this without JavaScript is create one survey with a question for each agent. Conditions or relevance based on a token attribute can be applied to these questions.
.
Cheers,
Tony Partner Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
From what I understand, each client will only have ONE sales agent, is this correct?
So why even bother to make them click/pick/choose if there will be only one option anyway?
Include the sales agent as a custom attribute in the token table. Then you can pass the name of the sales agent into the survey, you can pipe it into the text of questions, but you don't need the client too choose, which I find far more elegant.
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.