View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
07338Bug reportsExpression Managerpublic2013-03-01 15:49
ReporterMazi Assigned ToDenisChenu  
PrioritynormalSeveritypartial_block 
Status closedResolutionno change required 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary07338: EM question validation stops user from going to the next page
Description

If you enter a whole question validation at a multiple numeric question to check a certain subquestion, the user can't proceed though valid answers are given.

Steps To Reproduce
  1. Import and run the attached survey
  2. Fill out one of the two numeric fields. A warning should pop up if field #2 is < 52 -> whole question validation.
  3. Even if field 2 is within the valid range, you can't proceed to page 2.
Additional Information

There is one restriction to allow the user to fill out just one of the two fields. This works fine and removing that restriction doesn't solve the problem.

There is another validation used to check if the second value is < 52. This seems to cause the problem. The question validation tip shows up correctly but you can't proceed to page 2.

Test link: http://limesurvey-templates.com/20/index.php/survey/index/sid/158996/newtest/Y/lang/de

TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)130226
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL 5
Server OS (if known)Windows 7
Webserver software & version (if known)Apache 2.2
PHP Version5.3.1
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2013-02-27 02:13

developer   ~24425

Something i don't understand:

Your em_equation are:
((!is_empty(IM7_2)) AND (IM7_2.NAOK > 52))

Then you force IM7_2 to be answered with a number > 52.

The tip are Max. 52 weeks/year : the IM7_2.NAOK < 52.
A number more than 52 in IM7_2 work like attended.

The em_equation are broken here.

Need to be:
is_empty(IM7_2.NAOK) or (IM7_2.NAOK < 53)

DenisChenu

DenisChenu

2013-02-27 02:15

developer   ~24426

Expression need reworking:
http://limesurvey.sondages.pro/index.php/survey/index/sid/422161/newtest/Y/lang/de

Mazi

Mazi

2013-02-27 21:16

updater   ~24431

Sorry, that was a misunderstanding. I thought that using a question validation means that the user is NOT able to proceed if the condition is true

So ((!is_empty(IM7_2)) AND (IM7_2.NAOK > 52)) = If field IM7_2 is not empty and the value entered there is > 52 -> stop the user from proceeding.

My fault. Thanks for clarifying!

DenisChenu

DenisChenu

2013-02-27 22:36

developer   ~24433

Last edited: 2013-02-27 22:37

Doc need update ?

http://docs.limesurvey.org/Advanced+question+settings&structure=English+Instructions+for+LimeSurvey#em_validation_q
http://docs.limesurvey.org/Advanced+question+settings&structure=English+Instructions+for+LimeSurvey#em_validation_sq

Think it's clear ;)

Issue History

Date Modified Username Field Change
2013-02-26 15:07 Mazi New Issue
2013-02-26 15:07 Mazi Status new => assigned
2013-02-26 15:07 Mazi Assigned To => DenisChenu
2013-02-26 15:07 Mazi File Added: limesurvey_survey_158996.lss
2013-02-27 02:13 DenisChenu Note Added: 24425
2013-02-27 02:15 DenisChenu Note Added: 24426
2013-02-27 02:15 DenisChenu Status assigned => closed
2013-02-27 02:15 DenisChenu Resolution open => fixed
2013-02-27 21:16 Mazi Note Added: 24431
2013-02-27 21:16 Mazi Status closed => feedback
2013-02-27 21:16 Mazi Resolution fixed => reopened
2013-02-27 21:17 Mazi Status feedback => resolved
2013-02-27 21:17 Mazi Fixed in Version => 2.00+
2013-02-27 21:17 Mazi Resolution reopened => no change required
2013-02-27 22:36 DenisChenu Note Added: 24433
2013-02-27 22:37 DenisChenu Note Edited: 24433
2013-03-01 15:49 c_schmitz Status resolved => closed