Reading possible choises from cvs file

Más
1 mes 3 semanas antes #191567 por Jmantysalo
Let's suppose that 3000 students have taken a basic course and now continue to advanced course. Say that after "Basics of music" one can continue to "Violin", "Piano" or "Flute", after "Elementary drug usage" one can take either "Heroin" or "Cocaine" and so on. I have a list like

Alice, Esta dirección de correo electrónico está siendo protegida contra los robots de spam. Necesita tener JavaScript habilitado para poder verlo., music
Bob, Esta dirección de correo electrónico está siendo protegida contra los robots de spam. Necesita tener JavaScript habilitado para poder verlo., drugs
Cecilia, Esta dirección de correo electrónico está siendo protegida contra los robots de spam. Necesita tener JavaScript habilitado para poder verlo., music

and another list like

music: violin, piano, flute
drugs: heroin, cocaine

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? Of course this is an easy task for basic php page, but could be handy if some other questions could be asked in the same time, and then LimeSurvey is a good tool.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

LimeSurvey Partners
Más
1 mes 3 semanas antes - 1 mes 3 semanas antes #191568 por jelo
Respuesta de jelo sobre el tema Reading possible choises from cvs file

Jmantysalo escribió: 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?

Define easy ;-)

LimeSurvey supports no dynamic or static lists (which you would use in other survey tools to apply these lists to question types.
Featurerequest: bugs.limesurvey.org/view.php?id=11688


I would suggest using Tokens with attributes. The attributes are variables, where you could save infos about the student and the courses taken. You also define what options each student has in the future to choose from.
manual.limesurvey.org/Survey_participants

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.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Última Edición: 1 mes 3 semanas antes por jelo.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
1 mes 3 semanas antes #191569 por tpartner
You can use Evan Plaice's jquery-csv platform to convert CSV contents into JavaScript objects.

I don't understand the need to access the first CSV file - couldn't the basic course be placed in a token attribute?

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.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
1 mes 3 semanas antes #191570 por Jmantysalo

jelo escribió: Define easy ;-)


"Easier than making the form from scratch by plain php."

jelo escribió: 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.


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.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
1 mes 3 semanas antes #191571 por jelo
Respuesta de jelo sobre el tema Reading possible choises from cvs file

Jmantysalo escribió: 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.

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.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
El siguiente usuario dijo gracias: holch

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
1 mes 3 semanas antes #191592 por Jmantysalo

jelo escribió:

Jmantysalo escribió: 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.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
1 mes 3 semanas antes #191593 por Jmantysalo

tpartner escribió: 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.

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]

That has not been specified yet. Probably radio button choise or dropdown.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
1 mes 3 semanas antes #191602 por holch
Respuesta de holch sobre el tema Reading possible choises from cvs file

I think it could be easier that way.


I don't think so. What is easier to use the possibilties that LS offers out of the box?

With your approach you would have to have custom coding to break up the token into different bits, while with the approach Jelo highlights you can just create a token table with the necessary custom attributes in columns for each respondent. These custom attributes can be used within the survey, for expressions, relevance equations, etc. and are easily accessible with {TOKEN:ATTRIBUTE_1}

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
El siguiente usuario dijo gracias: Jmantysalo

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Más
1 mes 2 semanas antes #191669 por DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .
El siguiente usuario dijo gracias: Jmantysalo

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

¡Comenzar ahora!

Simplemente cree una cuenta y comience a usar LimeSurvey hoy mismo.

Registrarse ahora
¡Únase a nuestro boletín informativo!

Iniciar sesión