Dear users, a new Joinup release will be deployed on Monday 24/01/2022 between 16.00 and 17:30 CET and will require a downtime of 20 minutes. Please adjust your use of the platform accordingly during this time-frame.

Renaming a "single choice question" answer label should not make it a different answer in results

Published on: 16/12/2014
Discussion

Hello,

I found out that after editing the label of a single choice question in a survey that already has answers, the renamed option is considered as different from the previous one, though it still have the same assigned value ([ID5] for example). Instead

 

Steps to reproduce :

1. Create a survey, add a "single choice question" with 2 answers ("Answer 1" and "Answer 2"). Edit the question to assign values to the answers ("Assign Values" button)

2. Publish the survey.

3. Answer the survey, choosing option "Answer 1".

4. In survey edition, rename "Answer 1" to "Answer 1.". Don't change the assigned value ("[ID...]"). Apply changes.

5. Answer again, choosing "Answer 1.".

=> Go to the results, select "All submitted answers" as "source". "Answer 1" and "Answer 1." are accounted for separately, although the Assigned Value is the same:

Expected result: get a single line with the sum of answers.

Component

Code

Category

bug

Comments

nturcot (not verified)
Tue, 16/12/2014 - 20:34

In addition, renaming "Answer 1." back to "Answer 1" will lead to three different lines in results : "Answer 1", "Answer 1." and "Answer 1" again.

Finlay90 (not verified)
Fri, 01/01/2016 - 12:05

LimeSurvey has a basic template and style system providing a theme-like capability found in many browser-based applications.  They are simply termed Templates here.  The Templates allow control over the look and feel of pages during a survey.  A survey administrator can select the template to use for each survey to thus personalize that survey's look and feel.  Changes to a Template can be as simple as adding a unique logo on the welcome page, changing background colors, or maybe new text colors for specific types of questions.

LimeSurvey comes with a set of templates right out of the box. These initial templates are defined by directories within the LimeSurvey installation "templates" directory.  Each template has it's own directory.  Within the main directory of a template are numerous files: templates (.pstpl), cascading style sheets (.css), images (.jpg or .png) and maybe others.
2V0-620 vce
Like in other theme-based systems, fragments of HTML code are stored in the .pstpl template files.  These fragments are read in and used to construct the page to display to the end user during the operation of a survey. Often keywords surrounded by curly braces are included in the files that are then replaced with the relevant text.