Welcome, Guest
Username: Password: Remember me

TOPIC: Populate Answer Options from Token Table

Populate Answer Options from Token Table 9 months 17 minutes ago #104108

  • brisyb
  • brisyb's Avatar
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
I have a survey that has a ranking question.

Basically, I want participants (listed in the token table) to rank the top 3 in a list of all participants, except themself of course.

So my question is, can I populate the answer options available for ranking from an attribute in the tokens table? For example, can the answer options presented, be the list of all the values in the LASTNAME attribute in the token table?

I would like to list these LASTNAMES only if a user defined attribute e.g. called DISPLAY_NAME is checked (i.e. Yes/No).

Also, given the above, can I also exclude the participant actually answering the question from the list, so only the other participants are shown and they cannot vote for themselves?
The administrator has disabled public write access.

Populate Answer Options from Token Table 8 months 4 weeks ago #104109

  • tpartner
  • tpartner's Avatar
  • LimeSurvey Team
  • Posts: 4281
  • Thank you received: 807
  • Karma: 370
Unfortunately, no. All answers for a ranking question must be defined before survey activation.

A possible workaround, although it would require some coding, might be to use autocomplete for text inputs - manual.limesurvey.org/Workarounds:_Manip...wers_for_text_inputs.
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.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.103 seconds
Donation Image