- Posts: 352
- Thank you received: 41
Ask the community, share ideas, and connect with other LimeSurvey users!
Define easyJmantysalo wrote: Is there an easy way to make LimeSurvey to ask about what advanced course the student will take, and only offer choises available by basic course taken?
jelo wrote: Define easy
jelo wrote: I would create a question for each course with the future options "e.g. music: violin, piano, flute" and only display the relevant once for the student, which can be controlled via ExpressionManager accessing the token attributes.
Did you read about "Survey participants and attributes"? Your question implies that you haven't. If you like to code a workaround to decipher the token into choiceoptions, fine. But you can just place the numbers/codes into a attribute field and access the attribute field inside LimeSurvey.Jmantysalo wrote: Hmm... Can the token be handled like a string or number? If so, the token could be just of the form XXXYYYY where X-part would define possible choises and YYYY would be string to differentiate students.
jelo wrote:
Jmantysalo wrote: Did you read about "Survey participants and attributes"? Your question implies that you haven't. If you like to code a workaround to decipher the token into choiceoptions, fine. But you can just place the numbers/codes into a attribute field and access the attribute field inside LimeSurvey.
Yes, that can be done too. But there is no need if everything needed can be coded as a part of token. I think it could be easier that way.
What question type do you see for the advanced course(s)? I ask because you can't arbitrarily generate answers for LimeSurvey. If using list-radio or multiple-choice questions, the answers/sub-questions must be defined in the LimeSurvey GUI.[/quote]tpartner wrote: You can use Evan Plaice's jquery-csv platform to convert CSV contents into JavaScript objects.
Thanks. Seems usefull, I'll look at that.
I don't understand the need to access the first CSV file - couldn't the basic course be placed in a token attribute?
True, it can.
I think it could be easier that way.