View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
05483Bug reportsConditionspublic2011-10-08 22:18
Reportertuccio Assigned Tolemeur  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91+ 
Fixed in Version1.91+ 
Summary05483: Condition on question in group by group visualization doesn't work
Description

I have a problem on a condition in survey with group by group visualization.

I have a Q1 and Q2 dropdown questions. Q3 is displayed only if Q1 is not equal to Q2. All questions are in one group.

It works on question by question visualization, but doesn't work on group by group.

TagsNo tags attached.
Attached Files
survey.lss (26,431 bytes)
Bug heat8
Complete LimeSurvey version number (& build)11026
I will donate to the project if issue is resolvedYes
BrowserChrome 12.0.742.122 m, Internet explorer 8.0.6001.18.702, Firefox 6.0.2
Database type & versionMySQL: 5.0.92-enterprise-gpl-log
Server OS (if known)Linux webx
Webserver software & version (if known)Apache 2.2
PHP Version5.2.17

Users monitoring this issue

tuccio

Activities

tuccio

tuccio

2011-09-29 14:23

reporter   ~16351

To reproduce the problem we need:

the first question radio button or dropped down Q1
the second question radio button or dropped down Q2 with the same answer code of Q1
the third question Q3 with the condition: show Q3 question only if Q2 is not equal to Q3
all the question are onthe same group, the survey is displayed group by group

If I display the survey question by question the condition works, but I need a group by group visualization,sothis is a problem for me.

I've tested the problem with Firefox, Google chrome and Internet Explorer

tuccio

tuccio

2011-09-30 13:10

reporter   ~16354

I notice the "java[SGQA]" variable don't keep the values.

tpartner

tpartner

2011-10-01 14:41

partner   ~16358

Last edited: 2011-10-01 14:42

lemeur, I can reproduce this problem.

As tuccio states, the hidden "java[SGQA]" input for the second question is not given a value. This is because the onchange event for Q2 fires noop_checkconditions(), not checkconditions().

noop_checkconditions() is an empty function.

lemeur

lemeur

2011-10-05 21:29

developer   ~16373

Thanks for the report.

Now fixed in rev 11107.

Will be available tonight in the new stable_plus release.

Issue History

Date Modified Username Field Change
2011-09-28 13:29 tuccio New Issue
2011-09-28 13:29 tuccio Status new => assigned
2011-09-28 13:29 tuccio Assigned To => lemeur
2011-09-28 17:10 tuccio File Added: survey.lss
2011-09-28 17:10 tuccio Issue Monitored: tuccio
2011-09-28 17:10 tuccio Issue End Monitor: tuccio
2011-09-28 17:45 tuccio Issue Monitored: tuccio
2011-09-29 14:23 tuccio Note Added: 16351
2011-09-30 13:10 tuccio Note Added: 16354
2011-10-01 14:41 tpartner Note Added: 16358
2011-10-01 14:42 tpartner Note Edited: 16358
2011-10-05 21:29 lemeur Note Added: 16373
2011-10-05 21:29 lemeur Status assigned => resolved
2011-10-05 21:29 lemeur Fixed in Version => 1.91+
2011-10-05 21:29 lemeur Resolution open => fixed
2011-10-08 22:18 c_schmitz Status resolved => closed
2021-08-03 21:43 guest Bug heat 6 => 8