Welcome, Guest
Username: Password: Remember me

TOPIC: Dual scale array: Relevance equation does not work

Dual scale array: Relevance equation does not work 1 year 6 months ago #92747

  • tpphilipp
  • tpphilipp's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 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:

File Attachment:

File Name: limesurvey_survey_172455.lss
File Size: 17 KB


Thanks in advance,
Thomas
Last Edit: 1 year 6 months ago by tpphilipp. Reason: Screenshot did not display everything
The administrator has disabled public write access.

Dual scale array: Relevance equation does not work 1 year 6 months ago #92831

  • tpphilipp
  • tpphilipp's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 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
The administrator has disabled public write access.

Dual scale array: Relevance equation does not work 1 year 5 months ago #93457

  • tpphilipp
  • tpphilipp's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 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
The administrator has disabled public write access.

Dual scale array: Relevance equation does not work 1 year 5 months ago #93460

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6256
  • Thank you received: 799
  • Karma: 239
Hello,

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

Denis
The administrator has disabled public write access.
The following user(s) said Thank You: tpphilipp

Dual scale array: Relevance equation does not work 1 year 2 months ago #96588

  • dissco
  • dissco's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 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?
Attachments:
Last Edit: 1 year 2 months ago by dissco.
The administrator has disabled public write access.

Dual scale array: Relevance equation does not work 1 year 2 months ago #96600

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6256
  • Thank you received: 799
  • Karma: 239
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
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.170 seconds
Donation Image