View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
05473Bug reportsConditionspublic2011-09-27 22:35
Reporterjalerner Assigned Tolemeur  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version1.90+ 
Summary05473: Conditional statement to display question 3 when question 1 is greater than question 2 fails
Description

I am trying to use the conditional statement "Q1 Greater than Q2" to control the display of Q3.

There are 3 question groups on the survey, each with one question. All three questions are Numerical Input and Mandatory.

When the conditional statement evaluates to False, everything works fine: question Q3 is skipped, the survey responses are written to the database, and the questionnaire ends.

However, when the conditional statement evaluates to True, the question group header for Q3 is displayed, the <<Previous and Next>> buttons are displayed, but the question itself is NOT displayed.

Is this a known issue, and if so is there a fix anyone can recommend?

Steps to reproduce are listed below, and I have attached the .lss file to this ticket.

Thanks very much!

**Actual survey can be accessed here:
https://limesurvey.partners.org/limesurvey/index.php?sid=68629&lang=en

Steps To Reproduce

3 question groups, each with one question.
All questions are of Type Numerical Input
All questions are Mandatory

Section 1

SBQ_01: In the past 3 months how many sexual partners have you had?

conditions for question:
This question is always shown.

Section 2

SBQ_02: In the past 3 months, of the {INSERTANS:68629X870X10872} sexual partners you've had, how many were "casual" or "anonymous"?

conditions for question:
SBQ_01: In the past 3 months how many sexual partners have you had?
Greater than
0

Section 3

SBQ_03: In the past 3 months, of the {INSERTANS:68629X870X10872} sexual partners you've had, how many were known, "primary" partners?

conditions for question:
SBQ_01: In the past 3 months how many sexual partners have you had?
Greater than
SBQ_02: In the past 3 months, how many “casual” or “anonymous” sexual partners have you had?

Additional Information

Actual survey can be accessed here:
https://limesurvey.partners.org/limesurvey/index.php?sid=68629&lang=en

TagsNo tags attached.
Attached Files
LimeSurvey Bug Report.txt (1,922 bytes)   
Conditional statement to display question 3 when question 1 is greater than question 2 fails

I am trying to use the conditional statement "Q1 Greater than Q2" to control the display of Q3.

There are 3 question groups on the survey, each with one question.  All three questions are Numerical Input and Mandatory.

When the conditional statement evaluates to False, everything works fine: question Q3 is skipped, the survey responses are written to the database, and the questionnaire ends.  

However, when the conditional statement evaluates to True, the question group header for Q3 is displayed, the <<Previous and Next>> buttons are displayed, but the question itself is NOT displayed.

Is this a known issue, and if so is there a fix anyone can recommend?

Steps to reproduce are listed below, and I have attached the .lss file to this ticket.

Thanks very much!
-----------------

3 question groups, each with one question.
All questions are of Type Numerical Input
All questions are Mandatory

Section 1
--------------------
SBQ_01: In the past 3 months how many male sexual partners have you had?

conditions for question:
This question is always shown.
--------------------

Section 2
--------------------
SBQ_02: In the past 3 months, of the {INSERTANS:68629X870X10872} sexual partners you've had, how many were "casual" or "anonymous"?

conditions for question:
SBQ_01: In the past 3 months how many male sexual partners have you had?
Greater than
0	
--------------------

Section 3
--------------------
SBQ_03: In the past 3 months, of the {INSERTANS:68629X870X10872} sexual partners you've had, how many were known, "primary" partners?

conditions for question:
SBQ_01: In the past 3 months how many male sexual partners have you had?
Greater than
SBQ_02: In the past 3 months, how many �casual� or �anonymous� sexual partners have you had?
--------------------
LimeSurvey Bug Report.txt (1,922 bytes)   
Screen-Shot.png (52,638 bytes)   
Screen-Shot.png (52,638 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)9487
I will donate to the project if issue is resolvedYes
BrowserIE9, FireFox 6, Chrome 14
Database type & versionwaiting to hear back from server admin
Server OS (if known)Red Hat Enterprise Linux
Webserver software & version (if known)Apache 2.0
PHP Versionwaiting to hear back from server admin
Git branch / Pull Request URL

Users monitoring this issue

jalerner

Activities

lemeur

lemeur

2011-09-23 09:20

reporter   ~16317

Please see http://docs.limesurvey.org/tiki-index.php?page=Setting%20conditions#Chained_conditions

You need to copy the condition set on SBQ_02 to SBQ_03

jalerner

jalerner

2011-09-23 23:52

reporter   ~16319

Thanks so much for getting back to me. I thought I had included all of the conditions from prior questions, but I went back and re-checked, and it turns out I had missed one. Thanks again!

lemeur

lemeur

2011-09-27 22:35

reporter   ~16340

you're welcome

Issue History

Date Modified Username Field Change
2011-09-23 00:01 jalerner New Issue
2011-09-23 00:01 jalerner Status new => assigned
2011-09-23 00:01 jalerner Assigned To => lemeur
2011-09-23 00:01 jalerner File Added: LimeSurvey Bug Report.txt
2011-09-23 00:04 jalerner File Added: limesurvey_survey_68629.lss
2011-09-23 00:20 jalerner File Added: Screen-Shot.png
2011-09-23 00:21 jalerner Issue Monitored: jalerner
2011-09-23 09:20 lemeur Note Added: 16317
2011-09-23 09:20 lemeur Status assigned => feedback
2011-09-23 23:52 jalerner Note Added: 16319
2011-09-23 23:52 jalerner Status feedback => assigned
2011-09-27 22:35 lemeur Note Added: 16340
2011-09-27 22:35 lemeur Status assigned => resolved
2011-09-27 22:35 lemeur Resolution open => no change required
2011-09-27 22:35 lemeur Status resolved => closed