Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi

SUJET : Dual scale array: Relevance equation does not work

Dual scale array: Relevance equation does not work il y a 1 an 10 mois #92747

  • tpphilipp
  • Portrait de tpphilipp
  • Hors ligne
  • Fresh Lemon
  • Messages : 12
  • Karma: 0
Hello,

I have a problem with a relevance equation that refers to a dual scale array.

The question looks like this:

Bildschirmfoto2013-02-16um12.13.52.png


There is one subquestion:

Bildschirmfoto2013-02-16um12.14.12.png


Here are the answer options (Yes and No) for both scales:

Bildschirmfoto2013-02-16um12.14.30.png


That's the logic file:

Bildschirmfoto2013-02-16um12.14.56.png


The following question should only be displayed if the user selects "Yes" in one of the columns of the question with the dual scale array before:

Bildschirmfoto2013-02-16um12.15.34.png


The relevance equation is X10_SQ001_0.NAOK=="A1" or X10_SQ001_1.NAOK=="A1"

But whatever I am trying, the following question won't be displayed:

Bildschirmfoto2013-02-16um12.15.53.png


I have tried anything: different browsers on different systems, different templates, different language versions, using the conditions editor instead of expression manager, using two single arrays instead of a dual scale array (which works fine, the following question is displayed if "Yes" is selected) and so on.

Any suggestions what's wrong? I have attached a test survey with the 2 questions:

Fichier attaché :

Nom du fichier : limesurvey_survey_172455.lss
Taille du ficher : 17 KB


Thanks in advance,
Thomas
Dernière édition: il y a 1 an 10 mois par tpphilipp. Raison: Screenshot did not display everything
L'administrateur a désactivé l'accès en écriture pour le public.

Dual scale array: Relevance equation does not work il y a 1 an 9 mois #92831

  • tpphilipp
  • Portrait de tpphilipp
  • Hors ligne
  • Fresh Lemon
  • Messages : 12
  • Karma: 0
Hello,

any suggestions on this?

It does not work whatever I try. So long I have tested it with the conditions editor and nearly every possible Qcode-alternative (NAOK, shown, value, ...). The logic should be the same as with a matrix where the relevance equation in the given example works perfect. But as soon as it comes to a dual array I can not adress the values of the scales.

It seems like a bug and that the responded values for the scales in dual arrays are automatically "on".

Greetings,
Thomas
L'administrateur a désactivé l'accès en écriture pour le public.

Dual scale array: Relevance equation does not work il y a 1 an 9 mois #93457

  • tpphilipp
  • Portrait de tpphilipp
  • Hors ligne
  • Fresh Lemon
  • Messages : 12
  • Karma: 0
Hello,

I stumbled upon the solution: a relevance equation that refers to a dual scale array does not work within the same question group. If you enter the relevance equation for a question in the following question group it works.

Seems like a bug.

tpphilipp
L'administrateur a désactivé l'accès en écriture pour le public.

Dual scale array: Relevance equation does not work il y a 1 an 9 mois #93460

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 6658
  • Remerciements reçus 887
  • Karma: 263
Hello,

Seem corrected for next release:
bugs.limesurvey.org/view.php?id=7309

Denis
L'administrateur a désactivé l'accès en écriture pour le public.
Cet utilisateur a été remercié pour son message par: tpphilipp

Dual scale array: Relevance equation does not work il y a 1 an 6 mois #96588

  • dissco
  • Portrait de dissco
  • Hors ligne
  • Fresh Lemon
  • Messages : 1
  • Karma: 0
Hey, I have nearly the same Problem.
My First question type is array (number):

Questionname: dual1
answer 1answer 2
name 1
name 2
name 3
name 4

Possible Asnwer for that could be:
answer 1answer 2
name 1XX
name 2X
name 3X
name 4X

Than comes the next Question

dual2:

here I have a dual array.
For that I want to have, like in this example, only the
option to evaluate name 1 and name 4 because they are checked in dual1 in the first answer column.

tried that with:
((dual1_SQ001_1.NAOK == "1" or dual1_SQ002_1.NAOK == "1" or dual1_SQ003_1.NAOK == "1" or dual1_SQ004_1.NAOK == "1" or dual1_SQ005_1.NAOK == "1" or dual1_SQ006_1.NAOK == "1" or dual1_SQ007_1.NAOK == "1" or dual1_SQ008_1.NAOK == "1"))

for 8 answer options in row for dual1.
That code I wrote in the relevance equation.
In the field array filter I wrote dual1.

The Problem is, that it filters the names, but for all answers given in dual1. So, in my example above the name 2 is also visible.

could someone point me out to the right relevance equation?

In the attachements you can find the first and the second question.

What is wrong with my relevance equation?
Pièces jointes :
Dernière édition: il y a 1 an 6 mois par dissco.
L'administrateur a désactivé l'accès en écriture pour le public.

Dual scale array: Relevance equation does not work il y a 1 an 6 mois #96600

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 6658
  • Remerciements reçus 887
  • Karma: 263
Hello,

Relevance equation are not used like this.

Here you ask to have one of the answer in dual1 at 1 to validate whole question.

Think you have to use adanced attroibute filtre, but need some workaround for array dual i think.

Denis
L'administrateur a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.172 secondes
Donation Image