Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Get list of answer ID's from a previous multiple choice

  • urbana
  • urbana's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 9 months ago #170409 by urbana
Hi, sorry for all my questions - no run at the moment :)

I need a list of all the answer ID's which have been chosen in a previous multiple choice question.

So the multiple is:
effectYes with Id's from 1 to 120

I tried it with:
Code:
var effectID = "{list(that.effectYes.value)}";
var effectID = "{list(that.effectYes.valueNAOK)}";
var effectID = "{list(that.effectYes)}";
var effectID = "{list(that.effectYes.code)}";

But I always get a "Y" or better, a list of "Y".
This isn't what I need, I need the list of ID's

Any ideas?
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose