View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
09080Bug reportsConditionspublic2014-06-18 16:40
Reporterlievenpauwels Assigned ToDenisChenu  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary09080: Conditions do not work using TOKEN:ATTRIBUTE_x
Description

On our WAMP server i installed the latest LimeSurvey 2.05+ Build 140612. and after a flawless installation i created the same survey but the conditions did not work.
I installed on an other LAMP server again LimeSurvey 2.05+ Build 140612, the same problem

I tried importing the survey from your demoserver where it worked well but again on both servers the condition was likely not matched cfr ((TOKEN:ATTRIBUTE_1 == "Merk"))
Where Merk is a value in the tokens table in the attribute_1 field.
In the Manage token attribute fields tab the sample data shows this value "Merk" so that works.

Steps To Reproduce

On our WAMP server I installed the latest LimeSurvey 2.05+ Build 140612.
After a flawless installation I created the same survey as in the demo version but the conditions did not work.

I crreate a survey
I create a question group
i create two questions type option
I create tokens
I create an attribute to the tokens
In each question i create a condition so the question only pops up when te equity is matched eg.
Q1: ((TOKEN:ATTRIBUTE_1 == "Brand"))
Q2: ((TOKEN:ATTRIBUTE_1 == "Color"))

This works on the demo installation demo.limesurvey.org NOT on the latest release

importing this survey created from demo.lime... does not make it work either

I tried importing the survey from your demoserver where it worked well but again on both servers the condition was likely not matched cfr ((TOKEN:ATTRIBUTE_1 == "Merk"))
Where Merk is a value in the tokens table in the attribute_1 field.
In the Manage token attribute fields tab the sample data shows this value "Merk" so that works.

Additional Information

I created a survey on your demo server and the above described conditions worked well.

i restarted a fresh 1.92 there conditions work fine
I upgraded to version 2.00 from the download site and it still works fine
Our servers:
XAMP
Windows Server 2008 R2 64bit
Mysql Serverversie: 5.5.8
Apache/2.2.17 (Win32)
PHP Version 5.3.5

LAMP
Linux latest Ubuntu 14 64bit
Apache/2.4.7 (Ubuntu)
Mysql Serverversie: 5.5.37-0ubuntu0.14.04.1 - (Ubuntu)
PHP Version 5.5.9

TagsNo tags attached.
Attached Files
limesurvey_survey_83837.lss (44,569 bytes)   
<?xml version="1.0" encoding="UTF-8"?>
<document>
 <LimeSurveyDocType>Survey</LimeSurveyDocType>
 <DBVersion>164</DBVersion>
 <languages>
  <language>nl</language>
  <language>en</language>
 </languages>
 <answers>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>code</fieldname>
   <fieldname>answer</fieldname>
   <fieldname>assessment_value</fieldname>
   <fieldname>sortorder</fieldname>
   <fieldname>language</fieldname>
   <fieldname>scale_id</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[10]]></code>
    <answer><![CDATA[Volvo XC 90]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[10]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A1]]></code>
    <answer><![CDATA[Audi A6]]></answer>
    <assessment_value><![CDATA[0]]></assessment_value>
    <sortorder><![CDATA[1]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A2]]></code>
    <answer><![CDATA[Volvo V70]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[2]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A3]]></code>
    <answer><![CDATA[Fiets]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[3]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A4]]></code>
    <answer><![CDATA[Chrysler Voyager]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[4]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A5]]></code>
    <answer><![CDATA[Ford T]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[5]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A6]]></code>
    <answer><![CDATA[Toyota Prius]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[6]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A7]]></code>
    <answer><![CDATA[Citroen Berlingo]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[7]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A8]]></code>
    <answer><![CDATA[Rolls Royce Silver Shadow]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[8]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A9]]></code>
    <answer><![CDATA[Vespa]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[9]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <code><![CDATA[A1]]></code>
    <answer><![CDATA[Rood]]></answer>
    <assessment_value><![CDATA[0]]></assessment_value>
    <sortorder><![CDATA[1]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <code><![CDATA[A2]]></code>
    <answer><![CDATA[Zilvergrijs]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[2]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <code><![CDATA[A3]]></code>
    <answer><![CDATA[Blauw]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[3]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <code><![CDATA[A4]]></code>
    <answer><![CDATA[Zwart-Geel-Rood]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[4]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <code><![CDATA[A5]]></code>
    <answer><![CDATA[Koningsblauw]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[5]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <code><![CDATA[A6]]></code>
    <answer><![CDATA[Parelmoer]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[6]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <code><![CDATA[A7]]></code>
    <answer><![CDATA[Fluogeel]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[7]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[10]]></code>
    <answer><![CDATA[Volvo XC 90]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[10]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A1]]></code>
    <answer><![CDATA[Audi A6]]></answer>
    <assessment_value><![CDATA[0]]></assessment_value>
    <sortorder><![CDATA[1]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A2]]></code>
    <answer><![CDATA[Volvo V70]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[2]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A3]]></code>
    <answer><![CDATA[Fiets]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[3]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A4]]></code>
    <answer><![CDATA[Chrysler Voyager]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[4]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A5]]></code>
    <answer><![CDATA[Ford T]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[5]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A6]]></code>
    <answer><![CDATA[Toyota Prius]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[6]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A7]]></code>
    <answer><![CDATA[Citroen Berlingo]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[7]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A8]]></code>
    <answer><![CDATA[Rolls Royce Silver Shadow]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[8]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <code><![CDATA[A9]]></code>
    <answer><![CDATA[Vespa]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[9]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <code><![CDATA[A1]]></code>
    <answer><![CDATA[Rood]]></answer>
    <assessment_value><![CDATA[0]]></assessment_value>
    <sortorder><![CDATA[1]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <code><![CDATA[A2]]></code>
    <answer><![CDATA[Zilvergrijs]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[2]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <code><![CDATA[A3]]></code>
    <answer><![CDATA[Blauw]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[3]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <code><![CDATA[A4]]></code>
    <answer><![CDATA[Zwart-Geel-Rood]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[4]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <code><![CDATA[A5]]></code>
    <answer><![CDATA[Koningsblauw]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[5]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <code><![CDATA[A6]]></code>
    <answer><![CDATA[Parelmoer]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[6]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <code><![CDATA[A7]]></code>
    <answer><![CDATA[Fluogeel]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[7]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A1]]></code>
    <answer><![CDATA[Leder interieur]]></answer>
    <assessment_value><![CDATA[0]]></assessment_value>
    <sortorder><![CDATA[1]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A2]]></code>
    <answer><![CDATA[Getinte ramen]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[2]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A3]]></code>
    <answer><![CDATA[Cabrio]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[3]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A4]]></code>
    <answer><![CDATA[Frigo]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[4]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A5]]></code>
    <answer><![CDATA[Alu-velgen]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[5]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A6]]></code>
    <answer><![CDATA[Volautomatische ramen, spiegels, sloten zetels]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[6]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A7]]></code>
    <answer><![CDATA[Kinderzitjes]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[7]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A8]]></code>
    <answer><![CDATA[Airconditioning]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[8]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A9]]></code>
    <answer><![CDATA[Radio-CD-Ingebouwde GSM]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[9]]></sortorder>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A1]]></code>
    <answer><![CDATA[Leder interieur]]></answer>
    <assessment_value><![CDATA[0]]></assessment_value>
    <sortorder><![CDATA[1]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A2]]></code>
    <answer><![CDATA[Getinte ramen]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[2]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A3]]></code>
    <answer><![CDATA[Cabrio]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[3]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A4]]></code>
    <answer><![CDATA[Frigo]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[4]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A5]]></code>
    <answer><![CDATA[Alu-velgen]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[5]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A6]]></code>
    <answer><![CDATA[Volautomatische ramen, spiegels, sloten zetels]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[6]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A7]]></code>
    <answer><![CDATA[Kinderzitjes]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[7]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A8]]></code>
    <answer><![CDATA[Airconditioning]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[8]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <code><![CDATA[A9]]></code>
    <answer><![CDATA[Radio-CD-Ingebouwde GSM]]></answer>
    <assessment_value><![CDATA[1]]></assessment_value>
    <sortorder><![CDATA[9]]></sortorder>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
  </rows>
 </answers>
 <conditions>
  <fields>
   <fieldname>cid</fieldname>
   <fieldname>qid</fieldname>
   <fieldname>scenario</fieldname>
   <fieldname>cqid</fieldname>
   <fieldname>cfieldname</fieldname>
   <fieldname>method</fieldname>
   <fieldname>value</fieldname>
  </fields>
  <rows>
   <row>
    <cid><![CDATA[1]]></cid>
    <qid><![CDATA[1]]></qid>
    <scenario><![CDATA[1]]></scenario>
    <cqid><![CDATA[0]]></cqid>
    <cfieldname><![CDATA[{TOKEN:ATTRIBUTE_1}]]></cfieldname>
    <method><![CDATA[==]]></method>
    <value><![CDATA[Merk]]></value>
   </row>
   <row>
    <cid><![CDATA[2]]></cid>
    <qid><![CDATA[2]]></qid>
    <scenario><![CDATA[1]]></scenario>
    <cqid><![CDATA[0]]></cqid>
    <cfieldname><![CDATA[{TOKEN:ATTRIBUTE_1}]]></cfieldname>
    <method><![CDATA[==]]></method>
    <value><![CDATA[Kleur]]></value>
   </row>
   <row>
    <cid><![CDATA[3]]></cid>
    <qid><![CDATA[3]]></qid>
    <scenario><![CDATA[1]]></scenario>
    <cqid><![CDATA[0]]></cqid>
    <cfieldname><![CDATA[{TOKEN:ATTRIBUTE_1}]]></cfieldname>
    <method><![CDATA[==]]></method>
    <value><![CDATA[Optie]]></value>
   </row>
  </rows>
 </conditions>
 <groups>
  <fields>
   <fieldname>gid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>group_name</fieldname>
   <fieldname>group_order</fieldname>
   <fieldname>description</fieldname>
   <fieldname>language</fieldname>
   <fieldname>randomization_group</fieldname>
   <fieldname>grelevance</fieldname>
  </fields>
  <rows>
   <row>
    <gid><![CDATA[1]]></gid>
    <sid><![CDATA[83837]]></sid>
    <group_name><![CDATA[Doe een voorstel voor het nieuwe vervoermiddel van Guy ]]></group_name>
    <group_order><![CDATA[0]]></group_order>
    <description><![CDATA[Let er bij uw keuze wel op dat deze moet passen bij zijn taak in de vertegenwoordigeing Van Domus Medica en bij het Imago van Domus Medica]]></description>
    <language><![CDATA[en]]></language>
    <randomization_group/>
    <grelevance/>
   </row>
   <row>
    <gid><![CDATA[1]]></gid>
    <sid><![CDATA[83837]]></sid>
    <group_name><![CDATA[Doe een voorstel voor het nieuwe vervoermiddel van Guy ]]></group_name>
    <group_order><![CDATA[0]]></group_order>
    <description><![CDATA[Let er bij uw keuze wel op dat deze moet passen bij zijn taak in de vertegenwoordigeing Van Domus Medica en bij het Imago van Domus Medica]]></description>
    <language><![CDATA[nl]]></language>
    <randomization_group/>
    <grelevance/>
   </row>
  </rows>
 </groups>
 <questions>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>parent_qid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>gid</fieldname>
   <fieldname>type</fieldname>
   <fieldname>title</fieldname>
   <fieldname>question</fieldname>
   <fieldname>preg</fieldname>
   <fieldname>help</fieldname>
   <fieldname>other</fieldname>
   <fieldname>mandatory</fieldname>
   <fieldname>question_order</fieldname>
   <fieldname>language</fieldname>
   <fieldname>scale_id</fieldname>
   <fieldname>same_default</fieldname>
   <fieldname>relevance</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[1]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[83837]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[L]]></type>
    <title><![CDATA[Merk]]></title>
    <question><![CDATA[Gelieve hier het voertuig te kiezen ter vervanging van de auto van onze directeur.]]></question>
    <preg/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[Y]]></mandatory>
    <question_order><![CDATA[0]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[((TOKEN:ATTRIBUTE_1 == "Merk"))]]></relevance>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[83837]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[L]]></type>
    <title><![CDATA[Merk]]></title>
    <question><![CDATA[Gelieve hier het voertuig te kiezen ter vervanging van de auto van onze directeur.]]></question>
    <preg/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[Y]]></mandatory>
    <question_order><![CDATA[0]]></question_order>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[((TOKEN:ATTRIBUTE_1 == "Merk"))]]></relevance>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[83837]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[L]]></type>
    <title><![CDATA[Kleur]]></title>
    <question><![CDATA[Kies een gepaste kleur]]></question>
    <preg/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[Y]]></mandatory>
    <question_order><![CDATA[1]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[((TOKEN:ATTRIBUTE_1 == "Kleur"))]]></relevance>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[83837]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[L]]></type>
    <title><![CDATA[Kleur]]></title>
    <question><![CDATA[Kies een gepaste kleur]]></question>
    <preg/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[Y]]></mandatory>
    <question_order><![CDATA[1]]></question_order>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[((TOKEN:ATTRIBUTE_1 == "Kleur"))]]></relevance>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[83837]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[L]]></type>
    <title><![CDATA[Optie]]></title>
    <question><![CDATA[Welke optie kan Guy best gebruiken om zo relaxed mogelijk aan te komen op zijn bestemmingen]]></question>
    <preg/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[Y]]></mandatory>
    <question_order><![CDATA[2]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[((TOKEN:ATTRIBUTE_1 == "Optie"))]]></relevance>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[83837]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[L]]></type>
    <title><![CDATA[Optie]]></title>
    <question><![CDATA[Welke optie kan Guy best gebruiken om zo relaxed mogelijk aan te komen op zijn bestemmingen]]></question>
    <preg/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[Y]]></mandatory>
    <question_order><![CDATA[2]]></question_order>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[((TOKEN:ATTRIBUTE_1 == "Optie"))]]></relevance>
   </row>
   <row>
    <qid><![CDATA[4]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[83837]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[Y]]></type>
    <title><![CDATA[Afsluten]]></title>
    <question><![CDATA[Vindt u dat deze manier van stemmen meer mag gebruikt worden?]]></question>
    <preg/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[Y]]></mandatory>
    <question_order><![CDATA[3]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
   </row>
   <row>
    <qid><![CDATA[4]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[83837]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[Y]]></type>
    <title><![CDATA[Afsluten]]></title>
    <question><![CDATA[Vindt u dat deze manier van stemmen meer mag gebruikt worden?]]></question>
    <preg/>
    <help/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[Y]]></mandatory>
    <question_order><![CDATA[3]]></question_order>
    <language><![CDATA[nl]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
   </row>
  </rows>
 </questions>
 <question_attributes>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>attribute</fieldname>
   <fieldname>value</fieldname>
   <fieldname>language</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[1]]></qid>
    <attribute><![CDATA[other_replace_text]]></attribute>
    <value/>
   </row>
   <row>
    <qid><![CDATA[2]]></qid>
    <attribute><![CDATA[other_replace_text]]></attribute>
    <value/>
   </row>
  </rows>
 </question_attributes>
 <surveys>
  <fields>
   <fieldname>sid</fieldname>
   <fieldname>admin</fieldname>
   <fieldname>expires</fieldname>
   <fieldname>startdate</fieldname>
   <fieldname>adminemail</fieldname>
   <fieldname>anonymized</fieldname>
   <fieldname>faxto</fieldname>
   <fieldname>format</fieldname>
   <fieldname>savetimings</fieldname>
   <fieldname>template</fieldname>
   <fieldname>language</fieldname>
   <fieldname>additional_languages</fieldname>
   <fieldname>datestamp</fieldname>
   <fieldname>usecookie</fieldname>
   <fieldname>allowregister</fieldname>
   <fieldname>allowsave</fieldname>
   <fieldname>autonumber_start</fieldname>
   <fieldname>autoredirect</fieldname>
   <fieldname>allowprev</fieldname>
   <fieldname>printanswers</fieldname>
   <fieldname>ipaddr</fieldname>
   <fieldname>refurl</fieldname>
   <fieldname>publicstatistics</fieldname>
   <fieldname>publicgraphs</fieldname>
   <fieldname>listpublic</fieldname>
   <fieldname>htmlemail</fieldname>
   <fieldname>tokenanswerspersistence</fieldname>
   <fieldname>assessments</fieldname>
   <fieldname>usecaptcha</fieldname>
   <fieldname>usetokens</fieldname>
   <fieldname>bounce_email</fieldname>
   <fieldname>attributedescriptions</fieldname>
   <fieldname>emailresponseto</fieldname>
   <fieldname>emailnotificationto</fieldname>
   <fieldname>tokenlength</fieldname>
   <fieldname>showxquestions</fieldname>
   <fieldname>showgroupinfo</fieldname>
   <fieldname>shownoanswer</fieldname>
   <fieldname>showqnumcode</fieldname>
   <fieldname>bouncetime</fieldname>
   <fieldname>bounceprocessing</fieldname>
   <fieldname>bounceaccounttype</fieldname>
   <fieldname>bounceaccounthost</fieldname>
   <fieldname>bounceaccountpass</fieldname>
   <fieldname>bounceaccountencryption</fieldname>
   <fieldname>bounceaccountuser</fieldname>
   <fieldname>showwelcome</fieldname>
   <fieldname>showprogress</fieldname>
   <fieldname>allowjumps</fieldname>
   <fieldname>navigationdelay</fieldname>
   <fieldname>nokeyboard</fieldname>
   <fieldname>alloweditaftercompletion</fieldname>
   <fieldname>googleanalyticsstyle</fieldname>
   <fieldname>googleanalyticsapikey</fieldname>
   <fieldname>sendconfirmation</fieldname>
  </fields>
  <rows>
   <row>
    <sid><![CDATA[83837]]></sid>
    <admin><![CDATA[Administrator]]></admin>
    <adminemail><![CDATA[ict@domusmedica.be]]></adminemail>
    <anonymized><![CDATA[N]]></anonymized>
    <faxto/>
    <format><![CDATA[S]]></format>
    <savetimings><![CDATA[N]]></savetimings>
    <template><![CDATA[bluengrey]]></template>
    <language><![CDATA[en]]></language>
    <additional_languages><![CDATA[nl ]]></additional_languages>
    <datestamp><![CDATA[Y]]></datestamp>
    <usecookie><![CDATA[N]]></usecookie>
    <allowregister><![CDATA[N]]></allowregister>
    <allowsave><![CDATA[N]]></allowsave>
    <autonumber_start><![CDATA[7]]></autonumber_start>
    <autoredirect><![CDATA[N]]></autoredirect>
    <allowprev><![CDATA[N]]></allowprev>
    <printanswers><![CDATA[Y]]></printanswers>
    <ipaddr><![CDATA[Y]]></ipaddr>
    <refurl><![CDATA[N]]></refurl>
    <publicstatistics><![CDATA[N]]></publicstatistics>
    <publicgraphs><![CDATA[N]]></publicgraphs>
    <listpublic><![CDATA[N]]></listpublic>
    <htmlemail><![CDATA[Y]]></htmlemail>
    <tokenanswerspersistence><![CDATA[N]]></tokenanswerspersistence>
    <assessments><![CDATA[N]]></assessments>
    <usecaptcha><![CDATA[D]]></usecaptcha>
    <usetokens><![CDATA[N]]></usetokens>
    <bounce_email><![CDATA[noreply@domusmedica.be]]></bounce_email>
    <attributedescriptions><![CDATA[a:1:{s:11:"attribute_1";a:3:{s:11:"description";s:5:"Groep";s:9:"mandatory";s:1:"N";s:13:"show_register";s:1:"N";}}]]></attributedescriptions>
    <emailresponseto/>
    <emailnotificationto/>
    <tokenlength><![CDATA[15]]></tokenlength>
    <showxquestions><![CDATA[N]]></showxquestions>
    <showgroupinfo><![CDATA[B]]></showgroupinfo>
    <shownoanswer><![CDATA[N]]></shownoanswer>
    <showqnumcode><![CDATA[X]]></showqnumcode>
    <bounceprocessing><![CDATA[N]]></bounceprocessing>
    <showwelcome><![CDATA[N]]></showwelcome>
    <showprogress><![CDATA[N]]></showprogress>
    <allowjumps><![CDATA[N]]></allowjumps>
    <navigationdelay><![CDATA[0]]></navigationdelay>
    <nokeyboard><![CDATA[N]]></nokeyboard>
    <alloweditaftercompletion><![CDATA[N]]></alloweditaftercompletion>
    <googleanalyticsstyle><![CDATA[0]]></googleanalyticsstyle>
    <googleanalyticsapikey/>
    <sendconfirmation><![CDATA[Y]]></sendconfirmation>
   </row>
  </rows>
 </surveys>
 <surveys_languagesettings>
  <fields>
   <fieldname>surveyls_survey_id</fieldname>
   <fieldname>surveyls_language</fieldname>
   <fieldname>surveyls_title</fieldname>
   <fieldname>surveyls_description</fieldname>
   <fieldname>surveyls_welcometext</fieldname>
   <fieldname>surveyls_endtext</fieldname>
   <fieldname>surveyls_url</fieldname>
   <fieldname>surveyls_urldescription</fieldname>
   <fieldname>surveyls_email_invite_subj</fieldname>
   <fieldname>surveyls_email_invite</fieldname>
   <fieldname>surveyls_email_remind_subj</fieldname>
   <fieldname>surveyls_email_remind</fieldname>
   <fieldname>surveyls_email_register_subj</fieldname>
   <fieldname>surveyls_email_register</fieldname>
   <fieldname>surveyls_email_confirm_subj</fieldname>
   <fieldname>surveyls_email_confirm</fieldname>
   <fieldname>surveyls_dateformat</fieldname>
   <fieldname>email_admin_notification_subj</fieldname>
   <fieldname>email_admin_notification</fieldname>
   <fieldname>email_admin_responses_subj</fieldname>
   <fieldname>email_admin_responses</fieldname>
   <fieldname>surveyls_numberformat</fieldname>
   <fieldname>surveyls_attributecaptions</fieldname>
  </fields>
  <rows>
   <row>
    <surveyls_survey_id><![CDATA[83837]]></surveyls_survey_id>
    <surveyls_language><![CDATA[en]]></surveyls_language>
    <surveyls_title><![CDATA[Kies een nieuw voertuig voor onze directeur]]></surveyls_title>
    <surveyls_description><![CDATA[<p>
	Guy is stilaan aan een ander voertuig toe. De huidige Volvo V70 heeft al heel wat kilometertjes op de teller.</p>
<p>
	Jij als personeelslid kan hem bij die keuze helpen door hier jouw advies te geven.</p>
]]></surveyls_description>
    <surveyls_welcometext/>
    <surveyls_endtext><![CDATA[Bedankt voor jouw positieve inbreng. De verzamelde gegevens zullen worden bekeken en in overweging genomen worden]]></surveyls_endtext>
    <surveyls_url/>
    <surveyls_urldescription/>
    <surveyls_email_invite_subj><![CDATA[Invitation to participate in a survey]]></surveyls_email_invite_subj>
    <surveyls_email_invite><![CDATA[Dear {FIRSTNAME},<br /><br />you have been invited to participate in a survey.<br /><br />The survey is titled:<br />"{SURVEYNAME}"<br /><br />"{SURVEYDESCRIPTION}"<br /><br />To participate, please click on the link below.<br /><br />Sincerely,<br /><br />{ADMINNAME} ({ADMINEMAIL})<br /><br />----------------------------------------------<br />Click here to do the survey:<br />{SURVEYURL}<br /><br />If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br />{OPTOUTURL}]]></surveyls_email_invite>
    <surveyls_email_remind_subj><![CDATA[Reminder to participate in a survey]]></surveyls_email_remind_subj>
    <surveyls_email_remind><![CDATA[Dear {FIRSTNAME},<br /><br />Recently we invited you to participate in a survey.<br /><br />We note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.<br /><br />The survey is titled:<br />"{SURVEYNAME}"<br /><br />"{SURVEYDESCRIPTION}"<br /><br />To participate, please click on the link below.<br /><br />Sincerely,<br /><br />{ADMINNAME} ({ADMINEMAIL})<br /><br />----------------------------------------------<br />Click here to do the survey:<br />{SURVEYURL}<br /><br />If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br />{OPTOUTURL}]]></surveyls_email_remind>
    <surveyls_email_register_subj><![CDATA[Survey registration confirmation]]></surveyls_email_register_subj>
    <surveyls_email_register><![CDATA[Dear {FIRSTNAME},<br /><br />You, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.<br /><br />To complete this survey, click on the following URL:<br /><br />{SURVEYURL}<br /><br />If you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.]]></surveyls_email_register>
    <surveyls_email_confirm_subj><![CDATA[Confirmation of your participation in our survey]]></surveyls_email_confirm_subj>
    <surveyls_email_confirm><![CDATA[Dear {FIRSTNAME},<br /><br />this email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.<br /><br />If you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.<br /><br />Sincerely,<br /><br />{ADMINNAME}]]></surveyls_email_confirm>
    <surveyls_dateformat><![CDATA[1]]></surveyls_dateformat>
    <email_admin_notification_subj><![CDATA[Response submission for survey {SURVEYNAME}]]></email_admin_notification_subj>
    <email_admin_notification><![CDATA[Hello,<br /><br />A new response was submitted for your survey '{SURVEYNAME}'.<br /><br />Click the following link to reload the survey:<br />{RELOADURL}<br /><br />Click the following link to see the individual response:<br />{VIEWRESPONSEURL}<br /><br />Click the following link to edit the individual response:<br />{EDITRESPONSEURL}<br /><br />View statistics by clicking here:<br />{STATISTICSURL}]]></email_admin_notification>
    <email_admin_responses_subj><![CDATA[Response submission for survey {SURVEYNAME} with results]]></email_admin_responses_subj>
    <email_admin_responses><![CDATA[<style type="text/css">
                                                .printouttable {
                                                  margin:1em auto;
                                                }
                                                .printouttable th {
                                                  text-align: center;
                                                }
                                                .printouttable td {
                                                  border-color: #ddf #ddf #ddf #ddf;
                                                  border-style: solid;
                                                  border-width: 1px;
                                                  padding:0.1em 1em 0.1em 0.5em;
                                                }

                                                .printouttable td:first-child {
                                                  font-weight: 700;
                                                  text-align: right;
                                                  padding-right: 5px;
                                                  padding-left: 5px;

                                                }
                                                .printouttable .printanswersquestion td{
                                                  background-color:#F7F8FF;
                                                }

                                                .printouttable .printanswersquestionhead td{
                                                  text-align: left;
                                                  background-color:#ddf;
                                                }

                                                .printouttable .printanswersgroup td{
                                                  text-align: center;        
                                                  font-weight:bold;
                                                  padding-top:1em;
                                                }
                                                </style>Hello,<br /><br />A new response was submitted for your survey '{SURVEYNAME}'.<br /><br />Click the following link to reload the survey:<br />{RELOADURL}<br /><br />Click the following link to see the individual response:<br />{VIEWRESPONSEURL}<br /><br />Click the following link to edit the individual response:<br />{EDITRESPONSEURL}<br /><br />View statistics by clicking here:<br />{STATISTICSURL}<br /><br /><br />The following answers were given by the participant:<br />{ANSWERTABLE}]]></email_admin_responses>
    <surveyls_numberformat><![CDATA[0]]></surveyls_numberformat>
    <surveyls_attributecaptions><![CDATA[a:1:{s:11:"attribute_1";s:5:"Groep";}]]></surveyls_attributecaptions>
   </row>
   <row>
    <surveyls_survey_id><![CDATA[83837]]></surveyls_survey_id>
    <surveyls_language><![CDATA[nl]]></surveyls_language>
    <surveyls_title><![CDATA[Kies een nieuw voertuig voor onze directeur]]></surveyls_title>
    <surveyls_description><![CDATA[<p>
	Guy is stilaan aan een ander voertuig toe. De huidige Volvo V70 heeft al heel wat kilometertjes op de teller.</p>
<p>
	Jij als personeelslid kan hem bij die keuze helpen door hier jouw advies te geven.</p>
]]></surveyls_description>
    <surveyls_welcometext/>
    <surveyls_endtext><![CDATA[Bedankt voor jouw positieve inbreng. De verzamelde gegevens zullen worden bekeken en in overweging genomen worden]]></surveyls_endtext>
    <surveyls_url/>
    <surveyls_urldescription/>
    <surveyls_email_invite_subj><![CDATA[Uitnodiging om deel te nemen aan een enquête]]></surveyls_email_invite_subj>
    <surveyls_email_invite><![CDATA[Dear {FIRSTNAME},

you have been invited to participate in a survey.

The survey is titled:
"{SURVEYNAME}"

"{SURVEYDESCRIPTION}"

To participate, please click on the link below.

Sincerely,

{ADMINNAME} ({ADMINEMAIL})

----------------------------------------------
Click here to do the survey:
{SURVEYURL}

If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:
{OPTOUTURL}]]></surveyls_email_invite>
    <surveyls_email_remind_subj><![CDATA[Herinnering om deel te nemen aan een enquête]]></surveyls_email_remind_subj>
    <surveyls_email_remind><![CDATA[Dear {FIRSTNAME},

Recently we invited you to participate in a survey.

We note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.

The survey is titled:
"{SURVEYNAME}"

"{SURVEYDESCRIPTION}"

To participate, please click on the link below.

Sincerely,

{ADMINNAME} ({ADMINEMAIL})

----------------------------------------------
Click here to do the survey:
{SURVEYURL}

If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:
{OPTOUTURL}]]></surveyls_email_remind>
    <surveyls_email_register_subj><![CDATA[Bevestiging registratie enquête]]></surveyls_email_register_subj>
    <surveyls_email_register><![CDATA[Dear {FIRSTNAME},

You, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.

To complete this survey, click on the following URL:

{SURVEYURL}

If you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.]]></surveyls_email_register>
    <surveyls_email_confirm_subj><![CDATA[Bevestiging van uw deelname aan onze enquête]]></surveyls_email_confirm_subj>
    <surveyls_email_confirm><![CDATA[Dear {FIRSTNAME},

this email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.

If you have any further questions about this email, please contact {ADMINNAME} on {ADMINEMAIL}.

Sincerely,

{ADMINNAME}]]></surveyls_email_confirm>
    <surveyls_dateformat><![CDATA[5]]></surveyls_dateformat>
    <email_admin_notification_subj><![CDATA[Respons inzending voor enquête {SURVEYNAME}]]></email_admin_notification_subj>
    <email_admin_notification><![CDATA[Hello,

A new response was submitted for your survey '{SURVEYNAME}'.

Click the following link to reload the survey:
{RELOADURL}

Click the following link to see the individual response:
{VIEWRESPONSEURL}

Click the following link to edit the individual response:
{EDITRESPONSEURL}

View statistics by clicking here:
{STATISTICSURL}]]></email_admin_notification>
    <email_admin_responses_subj><![CDATA[Respons inzending voor enquête {SURVEYNAME} met resultaten]]></email_admin_responses_subj>
    <email_admin_responses><![CDATA[<style type="text/css">
                                                .printouttable {
                                                  margin:1em auto;
                                                }
                                                .printouttable th {
                                                  text-align: center;
                                                }
                                                .printouttable td {
                                                  border-color: #ddf #ddf #ddf #ddf;
                                                  border-style: solid;
                                                  border-width: 1px;
                                                  padding:0.1em 1em 0.1em 0.5em;
                                                }

                                                .printouttable td:first-child {
                                                  font-weight: 700;
                                                  text-align: right;
                                                  padding-right: 5px;
                                                  padding-left: 5px;

                                                }
                                                .printouttable .printanswersquestion td{
                                                  background-color:#F7F8FF;
                                                }

                                                .printouttable .printanswersquestionhead td{
                                                  text-align: left;
                                                  background-color:#ddf;
                                                }

                                                .printouttable .printanswersgroup td{
                                                  text-align: center;        
                                                  font-weight:bold;
                                                  padding-top:1em;
                                                }
                                                </style>Hello,

A new response was submitted for your survey '{SURVEYNAME}'.

Click the following link to reload the survey:
{RELOADURL}

Click the following link to see the individual response:
{VIEWRESPONSEURL}

Click the following link to edit the individual response:
{EDITRESPONSEURL}

View statistics by clicking here:
{STATISTICSURL}


The following answers were given by the participant:
{ANSWERTABLE}]]></email_admin_responses>
    <surveyls_numberformat><![CDATA[0]]></surveyls_numberformat>
    <surveyls_attributecaptions><![CDATA[a:1:{s:11:"attribute_1";s:0:"";}]]></surveyls_attributecaptions>
   </row>
  </rows>
 </surveys_languagesettings>
</document>
limesurvey_survey_83837.lss (44,569 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)140612
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql Serverversie: 5.5.8 AND Apache/2.4.7 (Ubuntu)
Server OS (if known)Windows Server 2008 R2 64bit AND Linux latest Ubuntu 14 64bit
Webserver software & version (if known)Apache/2.2.17 (Win32) AND Apache/2.4.7 (Ubuntu)
PHP VersionPHP Version 5.3.5 AND PHP Version 5.5.9

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2014-06-13 15:56

developer   ~30097

Please attach a simple lss file to test.

DenisChenu

DenisChenu

2014-06-18 10:34

developer   ~30138

Please update application/helpers/expressions/em_manager_helper.php

With same patch

lievenpauwels

lievenpauwels

2014-06-18 12:06

reporter   ~30139

I just added a css file. I wil now try the solution

lievenpauwels

lievenpauwels

2014-06-18 12:41

reporter   ~30140

OK in this case it works.

However I cannot create any questions anymore

AND publishing the existing survey with settings->access codes-> anonymous responses =TRUE still makes the questions with conditions pass unnoticed

DenisChenu

DenisChenu

2014-06-18 12:44

developer   ~30141

<quote>publishing the existing survey with settings->access codes-> anonymous responses =TRUE still makes the questions with conditions pass unnoticed </quote>Attended behaviour : You CAN not use Token information in a anonymous survey (else the survey is not anaonymous).

<quote>I cannot create any questions anymore </quote>In a activated survey ? In activated survey ?
You just apply thepatch or you replace all file ?

lievenpauwels

lievenpauwels

2014-06-18 12:56

reporter   ~30142

Ok I understand.
I copied the presented code and replaced all old code in the file em_manager_helper.php with it

DenisChenu

DenisChenu

2014-06-18 12:57

developer   ~30143

And ?

The you replace all file, maybe some other change (don't verify). Better is just apply the same transformation : https://github.com/LimeSurvey/LimeSurvey/commit/4ac107aa13836419bbb532972ff5090d51f7af3f

ANd for the answer of:
In a activated survey ? In dis-activated survey ?

lievenpauwels

lievenpauwels

2014-06-18 13:06

reporter   ~30144

in an activated survey

DenisChenu

DenisChenu

2014-06-18 13:35

developer   ~30145

You can not add/remove/update question type and code in an activated survey.

lievenpauwels

lievenpauwels

2014-06-18 14:01

reporter   ~30148

I dont really agree with that vision of anonymised data.

  • I have 2500 persons and each receives a token,
    • they can only use that token once
    • when the vote the result must be stored
    • their token disabled, no need to link both.

As for the changes they work now for non anonymized tokens, thanks

DenisChenu

DenisChenu

2014-06-18 14:05

developer   ~30149

And : you have 10 token, you set attribute 1 to 1,2,3...10 for each token.

You add 10 hidden equation question with 1,2,3... and set condition to {TOKEN:ATTRIBUTE_1==1} for the first {TOKEN:ATTRIBUTE_1==2} for the 2nd ....

Then there are a link between the token table and the survey table.

If you can use token informatin in survey : the survey CAN NOT be anonymous.

If you want to use token information in survey : don't set anonymous to Y.

lievenpauwels

lievenpauwels

2014-06-18 15:52

reporter   ~30153

The token should not be anonymous but the result does.
in table tokens_xyz you have the participants they fill out a survey based on a field out of TOKEN_xyz but when they're finished the result is saved in survey_xyz along with their token.
For an un-anonymous survey the token is stored there in field [token] as should.
But, there s no reason why an anonymous survey should have the token there.
So anonymous should only omit saving token in survey_xyz and in the tokens_xyz just change completed N to Y (without date as said) AND decrement [usesleft] with 1.
That manner even a survey with equations on tokens CA be anonymous.

wdyt

DenisChenu

DenisChenu

2014-06-18 16:01

developer   ~30154

Continue on forum if you want.
BUT : We never accept to use token table in survey table if survey is set anonymous.

Reason : Add a equation question type and set it to {TOKEN:TOKEN}

lievenpauwels

lievenpauwels

2014-06-18 16:19

reporter   ~30157

Which is what I say nothing from token_xyz table in survey_xyz table when anonymous

c_schmitz

c_schmitz

2014-06-18 16:40

administrator   ~30159

LimeSurvey 2.05+ Build 140618 released.

Related Changesets

LimeSurvey: master 4ac107aa

2014-06-18 07:51:00

DenisChenu

Details Diff
Fixed issue : TOKEN: replace by empty string Affected Issues
09080
mod - application/helpers/expressions/em_manager_helper.php Diff File

Issue History

Date Modified Username Field Change
2014-06-13 14:49 lievenpauwels New Issue
2014-06-13 15:56 DenisChenu Note Added: 30097
2014-06-18 10:32 DenisChenu Changeset attached => LimeSurvey master 4ac107aa
2014-06-18 10:34 DenisChenu Note Added: 30138
2014-06-18 10:34 DenisChenu Status new => resolved
2014-06-18 10:34 DenisChenu Fixed in Version => 2.05+
2014-06-18 10:34 DenisChenu Resolution open => fixed
2014-06-18 10:34 DenisChenu Assigned To => DenisChenu
2014-06-18 12:05 lievenpauwels File Added: limesurvey_survey_83837.lss
2014-06-18 12:06 lievenpauwels Note Added: 30139
2014-06-18 12:41 lievenpauwels Note Added: 30140
2014-06-18 12:44 DenisChenu Note Added: 30141
2014-06-18 12:56 lievenpauwels Note Added: 30142
2014-06-18 12:57 DenisChenu Note Added: 30143
2014-06-18 13:06 lievenpauwels Note Added: 30144
2014-06-18 13:35 DenisChenu Note Added: 30145
2014-06-18 14:01 lievenpauwels Note Added: 30148
2014-06-18 14:05 DenisChenu Note Added: 30149
2014-06-18 15:52 lievenpauwels Note Added: 30153
2014-06-18 16:01 DenisChenu Note Added: 30154
2014-06-18 16:19 lievenpauwels Note Added: 30157
2014-06-18 16:40 c_schmitz Note Added: 30159
2014-06-18 16:40 c_schmitz Status resolved => closed