Marking array answers based on previous array

Plus d'informations
il y a 1 an 2 semaines #161138 par vadikcoma
vadikcoma a créé le sujet : Marking array answers based on previous array
Hello, first of all - thanks for the awesome and free software!


We have a following survey - opros.comadev.noc.lv/index.php/836943?lang=lv - there are 2 arrays and questions are about radio-station audience.

First question - How often do you listen to this station
Second question - How do you listen to this station

My task is to make options from second array being marked as NOT LISTENING in case there answer I DONT KNOW THIS STATION in first array.

In my mind there should be this logic:

if array_1 question_1 answer = A6 then
array_2 question_1 answer A4 = "yes"
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 2 semaines #161143 par tpartner
tpartner a répondu au sujet : Marking array answers based on previous array
Why not place relevance on the sub-questions in Q2 so they don't show at all if the corresponding row in Q1 is "A6"?

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 2 semaines #161144 par vadikcoma
vadikcoma a répondu au sujet : Marking array answers based on previous array
Could you please advise me how to do it? I’m totally new to this

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 2 semaines - il y a 1 an 2 semaines #161149 par tpartner
tpartner a répondu au sujet : Marking array answers based on previous array
When editing the sub-questions you can place relevance on them to hide/show them based on answers to previous questions.

So, for example, if your first question has a code "Q1" and sub-question codes "SQ001, SQ002...", the relevance for the Q2 sub-questions would look something like this.

It basically says only show this row if the corresponding row in Q1 is answered and is not "A6".



Check out Expression Manager in the manual for more info - manual.limesurvey.org/Expression_Manager

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Pièces jointes :
Dernière édition: il y a 1 an 2 semaines par tpartner.
Les utilisateur(s) suivant ont remercié: vadikcoma

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 2 semaines #161150 par tpartner
tpartner a répondu au sujet : Marking array answers based on previous array
Here is a sample survey that also has relevance on Q2 to only show it if there are some answers in Q1 and not all Q1 answers are "A6".

count(that.Q1) > 0 AND count(that.Q1) != sum(Q1_SQ001=='A6', Q1_SQ002=='A6', Q1_SQ003=='A6', Q1_SQ004=='A6')

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 an 1 semaine #161297 par vadikcoma
vadikcoma a répondu au sujet : Marking array answers based on previous array
It did worked out! Thank you so much!

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!