View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
07799Bug reportsConditionspublic2013-04-26 17:12
ReporterErik Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version2.00+ 
Summary07799: Condition with "not equals" does not work with correct with radio answers when using the "or" function
Description

In the example file condition is set as follow: 
only show question if answer is NOT a or b

What I want is to only show the if the aswer is other than a or b. Now the question is always shown probably because it hides it on a and b which is not possible with a radio question...

Steps To Reproduce

Simply use a condition based on a previous radio question with multiple answers.
If you use the "no equal" rule ad two answers and whatever the answer is your question will be shown....

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)130423
I will donate to the project if issue is resolvedNo
Browserall
Database type & versionall
Server OS (if known)all
Webserver software & version (if known)all
PHP Versionall
Git branch / Pull Request URL

Users monitoring this issue

Erik

Activities

DenisChenu

DenisChenu

2013-04-26 17:12

developer   ~25144

No change required:

Your equation is: ((q1.NAOK != "1" or q1.NAOK != "2"))
Logic:
if 1 is checked then q1.NAOK != "2" then ((q1.NAOK != "1" or q1.NAOK != "2")) is true
if 2 is checked then q1.NAOK != "1" then ((q1.NAOK != "1" or q1.NAOK != "2")) is true

You need:
q1.NAOK != "1" and q1.NAOK != "2" and !(is_empty(q1.NAOK))

Issue History

Date Modified Username Field Change
2013-04-25 17:41 Erik New Issue
2013-04-25 17:41 Erik File Added: limesurvey_survey_597733.lss
2013-04-25 17:49 Erik Issue Monitored: Erik
2013-04-26 17:12 DenisChenu Note Added: 25144
2013-04-26 17:12 DenisChenu Status new => closed
2013-04-26 17:12 DenisChenu Assigned To => DenisChenu
2013-04-26 17:12 DenisChenu Resolution open => no change required