LimeSurvey issue tracker
Registration

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
08678Bug reports[All Projects] Survey designpublic2014-02-06 22:022014-02-16 17:41
ReporterJondays 
Assigned Tosammousa 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary08678: Using Expressions as default value for text fields questions when index is activated
DescriptionWhen using expressions as default values for text fields (to populate text box with answers from previous questions in previous groups), the expressions don't get filled.

For example, in question group 1, you answer Q1 to Q5. In Group 2 you have a question with a large text box. You set the default value as {Q1.shown}, {Q2.shown}, {Q3.shown}, {Q4.shown}, {Q5.shown}. When you run the survey, when you answer group 1, and then click next, you will see in text box: , , ,
withouth the expressions being replace by the answers (you get a blank)
Steps To ReproduceSee .lss file for a "working" example of the bug.

Create a group with your questions. In a second group, create a text field question. In the default value text box enter the expression (as above). Try the survey.

In the forum, tpartner suggested that this issue may be happening only one the index feature is enabled: http://www.limesurvey.org/en/forum/design-issues/95939-using-expressions-as-default-value-in-free-text-field#104721 [^]
Additional InformationThe attached dummy survey reproduces the error
I will donate to the project if issue is resolved within 48 hrsNo
LimeSurvey build number OR git commit IDVersion 2.05+ Build 140204
BrowserChrome, IE, Firefox, all of them
Database & DB-VersionMySQL Server 5.1
Operating System (Server)Windows NT 6.1 build 7600 (Windows Server 2008 R2 Standard Edition) i586
Webserver software & versionWindows NT 6.1 build 7600 (Windows Server 2008 R2 Standard Edition) i586
PHP VersionPHP Version 5.4.14
Attached Files? file icon limesurvey_survey_465241.lss [^] (20,803 bytes) 2014-02-06 22:02

- Relationships

-  Notes
User avatar (28764)
c_schmitz (administrator)
2014-02-16 17:41

This only happens if the question index is set to full.

- Issue History
Date Modified Username Field Change
2014-02-06 22:02 Jondays New Issue
2014-02-06 22:02 Jondays File Added: limesurvey_survey_465241.lss
2014-02-16 17:37 c_schmitz Assigned To => c_schmitz
2014-02-16 17:37 c_schmitz Status new => assigned
2014-02-16 17:40 c_schmitz Assigned To c_schmitz => sammousa
2014-02-16 17:41 c_schmitz Note Added: 28764


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker