Welcome, Guest
Username: Password: Remember me

TOPIC: Populate Answer Options from Token Table

Populate Answer Options from Token Table 2 months 3 weeks ago #104108

  • brisyb
  • brisyb's Avatar
  • OFFLINE
  • 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 2 months 3 weeks ago #104109

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 3813
  • Thank you received: 683
  • Karma: 328
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.
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.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.095 seconds
Donation Image