View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
10111Bug reportsDocumentationpublic2015-12-12 16:02
Reportera_alfredo Assigned ToDenisChenu  
PrioritynormalSeveritytext 
Status closedResolutionfixed 
Product Version2.06+ 
Fixed in Version2.06+ 
Summary10111: OR condition in relevance expression ignored.
Description

A given question won't show up when the relevance expression depend on these conditions using an OR statement:

  • A radio select option (marked) OR
  • A not yet visible field triggered by other radio select option.

The expression won't make the field appear until the hidden question is activated.

Only tested in in a question with radio fields.

Steps To Reproduce

See sample attached:

Using the first question as a starting point.

  1. Select "other". The "Please specify" text area won't show up. The expression uses other as an OR condition.

It works when:

  1. Select " A business, including suppliers using an online platform to provide services"
  2. Select, "Yes" or "No" in "Are you a SME or micro enterprise?".
  3. The "Please specify" question will appear.

The relevance expression in the "Please specify" question uses the hidden field "Are you a SME or micro enterprise?" OR "other" in the first question.

TagsNo tags attached.
Attached Files
Bug heat2
Complete LimeSurvey version number (& build)limeservice
I will donate to the project if issue is resolvedNo
Browser
Database type & versionlimeservice
Server OS (if known)limeservice
Webserver software & version (if known)limeservice
PHP Versionlimeservice

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-12-12 15:23

developer   ~33900

Using a6251561.NAOK == 'v1570' OR a6251573.NAOK == 'v1574' OR a6251573.NAOK == 'v1575'
seems to work, but right:b this must work without too (i think).

DenisChenu

DenisChenu

2015-12-12 15:49

developer   ~33901

if (LEMif(LEManyNA('a6251561', 'a6251573'),'',(LEMval('a6251561') == 'v1570' || LEMval('a6251573') == 'v1574' || LEMval('a6251573') == 'v1575')))

Then function is done like this.

Some manual to be updated but it's like any spreadsheet .

If you have an #N/A or a #ERREUR => any part using this cell becomae error , never true.

DenisChenu

DenisChenu

2015-12-12 15:50

developer   ~33902

Move to doc bug : https://manual.limesurvey.org/Expression_Manager is very unclear on this.

DenisChenu

DenisChenu

2015-12-12 16:02

developer   ~33903

https://manual.limesurvey.org/Expression_Manager#Usage_of_NAOK

Issue History

Date Modified Username Field Change
2015-12-10 22:08 a_alfredo New Issue
2015-12-10 22:08 a_alfredo File Added: limesurvey_survey_995387.lss
2015-12-12 15:23 DenisChenu Note Added: 33900
2015-12-12 15:49 DenisChenu Note Added: 33901
2015-12-12 15:49 DenisChenu Status new => closed
2015-12-12 15:49 DenisChenu Assigned To => DenisChenu
2015-12-12 15:49 DenisChenu Resolution open => won't fix
2015-12-12 15:49 DenisChenu Fixed in Version => 2.06+
2015-12-12 15:50 DenisChenu Note Added: 33902
2015-12-12 15:50 DenisChenu Status closed => feedback
2015-12-12 15:50 DenisChenu Resolution won't fix => reopened
2015-12-12 15:50 DenisChenu Severity minor => text
2015-12-12 15:50 DenisChenu Reproducibility have not tried => sometimes
2015-12-12 15:50 DenisChenu Status feedback => assigned
2015-12-12 15:50 DenisChenu Resolution reopened => open
2015-12-12 15:50 DenisChenu Category Conditions => Documentation
2015-12-12 15:50 DenisChenu Product Version => 2.06+
2015-12-12 15:50 DenisChenu Fixed in Version 2.06+ =>
2015-12-12 16:02 DenisChenu Note Added: 33903
2015-12-12 16:02 DenisChenu Status assigned => closed
2015-12-12 16:02 DenisChenu Resolution open => fixed
2015-12-12 16:02 DenisChenu Fixed in Version => 2.06+