View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
17838Bug reportsSurvey editingpublic2022-02-28 12:58
Reportertammo Assigned Togabrieljenik  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.2.x 
Summary17838: Add javascript in script tab only works for superadmin (user 1)
Description

When I add Javascript to this tab (as being the superadmin), it is invisible (and un-editable) for other users

Steps To Reproduce

Load attached lss and see. The script should make the "Next" button invisible for 5 seconds. It also should auto-advance to the next group, once you fill in.

Additional Information

I would expect other superadmins and people that have enough permissions to see the Javascript tab.

TagsNo tags attached.
Bug heat12
Complete LimeSurvey version number (& build)5.2.9
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL
Server OS (if known)Centos
Webserver software & version (if known)Apache
PHP Version7.3

Relationships

related to 17740 confirmedgalads Script : Set for all languages didn't work 

Users monitoring this issue

User List There are no users monitoring this issue.

Activities

tammo

tammo

2022-01-17 16:14

developer  

test_javascript.lss (61,135 bytes)   
<?xml version="1.0" encoding="UTF-8"?>
<document>
 <LimeSurveyDocType>Survey</LimeSurveyDocType>
 <DBVersion>479</DBVersion>
 <languages>
  <language>nl-informal</language>
 </languages>
 <answers>
  <fields>
   <fieldname>aid</fieldname>
   <fieldname>qid</fieldname>
   <fieldname>code</fieldname>
   <fieldname>sortorder</fieldname>
   <fieldname>assessment_value</fieldname>
   <fieldname>scale_id</fieldname>
  </fields>
  <rows>
   <row>
    <aid><![CDATA[410]]></aid>
    <qid><![CDATA[122]]></qid>
    <code><![CDATA[A1]]></code>
    <sortorder><![CDATA[0]]></sortorder>
    <assessment_value><![CDATA[0]]></assessment_value>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <aid><![CDATA[414]]></aid>
    <qid><![CDATA[139]]></qid>
    <code><![CDATA[A1]]></code>
    <sortorder><![CDATA[0]]></sortorder>
    <assessment_value><![CDATA[0]]></assessment_value>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <aid><![CDATA[415]]></aid>
    <qid><![CDATA[139]]></qid>
    <code><![CDATA[C]]></code>
    <sortorder><![CDATA[1]]></sortorder>
    <assessment_value><![CDATA[1]]></assessment_value>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <aid><![CDATA[411]]></aid>
    <qid><![CDATA[122]]></qid>
    <code><![CDATA[C]]></code>
    <sortorder><![CDATA[1]]></sortorder>
    <assessment_value><![CDATA[1]]></assessment_value>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <aid><![CDATA[412]]></aid>
    <qid><![CDATA[122]]></qid>
    <code><![CDATA[A3]]></code>
    <sortorder><![CDATA[2]]></sortorder>
    <assessment_value><![CDATA[0]]></assessment_value>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <aid><![CDATA[416]]></aid>
    <qid><![CDATA[139]]></qid>
    <code><![CDATA[A3]]></code>
    <sortorder><![CDATA[2]]></sortorder>
    <assessment_value><![CDATA[0]]></assessment_value>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
   <row>
    <aid><![CDATA[413]]></aid>
    <qid><![CDATA[122]]></qid>
    <code><![CDATA[A4]]></code>
    <sortorder><![CDATA[3]]></sortorder>
    <assessment_value><![CDATA[0]]></assessment_value>
    <scale_id><![CDATA[0]]></scale_id>
   </row>
  </rows>
 </answers>
 <answer_l10ns>
  <fields>
   <fieldname>id</fieldname>
   <fieldname>aid</fieldname>
   <fieldname>answer</fieldname>
   <fieldname>language</fieldname>
  </fields>
  <rows>
   <row>
    <id><![CDATA[452]]></id>
    <aid><![CDATA[410]]></aid>
    <answer><![CDATA[19%]]></answer>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[456]]></id>
    <aid><![CDATA[414]]></aid>
    <answer><![CDATA[Simvastatine 80 mg, Atorvastatine 40-80 mg en Rosuvastatine 20-40 mg]]></answer>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[457]]></id>
    <aid><![CDATA[415]]></aid>
    <answer><![CDATA[Atorvastatine 40-80 mg en Rosuvastatine 20-40 mg]]></answer>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[453]]></id>
    <aid><![CDATA[411]]></aid>
    <answer><![CDATA[29% ]]></answer>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[454]]></id>
    <aid><![CDATA[412]]></aid>
    <answer><![CDATA[39% ]]></answer>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[458]]></id>
    <aid><![CDATA[416]]></aid>
    <answer><![CDATA[Rosuvastatine 20-40 mg]]></answer>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[455]]></id>
    <aid><![CDATA[413]]></aid>
    <answer><![CDATA[49%]]></answer>
    <language><![CDATA[nl-informal]]></language>
   </row>
  </rows>
 </answer_l10ns>
 <assessments>
  <fields>
   <fieldname>id</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>scope</fieldname>
   <fieldname>gid</fieldname>
   <fieldname>name</fieldname>
   <fieldname>minimum</fieldname>
   <fieldname>maximum</fieldname>
   <fieldname>message</fieldname>
   <fieldname>language</fieldname>
  </fields>
  <rows>
   <row>
    <id><![CDATA[20]]></id>
    <sid><![CDATA[643976]]></sid>
    <scope><![CDATA[T]]></scope>
    <gid><![CDATA[41]]></gid>
    <name><![CDATA[Top]]></name>
    <minimum><![CDATA[4]]></minimum>
    <maximum><![CDATA[4]]></maximum>
    <message><![CDATA[Je had alle antwoorden goed]]></message>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[19]]></id>
    <sid><![CDATA[643976]]></sid>
    <scope><![CDATA[T]]></scope>
    <gid><![CDATA[41]]></gid>
    <name><![CDATA[Bijna...]]></name>
    <minimum><![CDATA[3]]></minimum>
    <maximum><![CDATA[3]]></maximum>
    <message><![CDATA[Je had drie van de vier antwoorden goed]]></message>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[16]]></id>
    <sid><![CDATA[643976]]></sid>
    <scope><![CDATA[T]]></scope>
    <gid><![CDATA[41]]></gid>
    <name><![CDATA[Ach.....]]></name>
    <minimum><![CDATA[2]]></minimum>
    <maximum><![CDATA[2]]></maximum>
    <message><![CDATA[Je had twee antwoorden goed. ]]></message>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[17]]></id>
    <sid><![CDATA[643976]]></sid>
    <scope><![CDATA[T]]></scope>
    <gid><![CDATA[41]]></gid>
    <name><![CDATA[Tja,....]]></name>
    <minimum><![CDATA[1]]></minimum>
    <maximum><![CDATA[1]]></maximum>
    <message><![CDATA[Je had één antwoord goed. ]]></message>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[18]]></id>
    <sid><![CDATA[643976]]></sid>
    <scope><![CDATA[T]]></scope>
    <gid><![CDATA[41]]></gid>
    <name><![CDATA[Niet zo best]]></name>
    <minimum><![CDATA[0]]></minimum>
    <maximum><![CDATA[0]]></maximum>
    <message><![CDATA[Je had geen enkel antwoord goed.]]></message>
    <language><![CDATA[nl-informal]]></language>
   </row>
  </rows>
 </assessments>
 <groups>
  <fields>
   <fieldname>gid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>group_order</fieldname>
   <fieldname>randomization_group</fieldname>
   <fieldname>grelevance</fieldname>
  </fields>
  <rows>
   <row>
    <gid><![CDATA[41]]></gid>
    <sid><![CDATA[643976]]></sid>
    <group_order><![CDATA[0]]></group_order>
    <randomization_group/>
    <grelevance/>
   </row>
   <row>
    <gid><![CDATA[50]]></gid>
    <sid><![CDATA[643976]]></sid>
    <group_order><![CDATA[1]]></group_order>
    <randomization_group/>
    <grelevance/>
   </row>
  </rows>
 </groups>
 <group_l10ns>
  <fields>
   <fieldname>id</fieldname>
   <fieldname>gid</fieldname>
   <fieldname>group_name</fieldname>
   <fieldname>description</fieldname>
   <fieldname>language</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>group_order</fieldname>
   <fieldname>randomization_group</fieldname>
   <fieldname>grelevance</fieldname>
  </fields>
  <rows>
   <row>
    <id><![CDATA[43]]></id>
    <gid><![CDATA[41]]></gid>
    <group_name><![CDATA[g1]]></group_name>
    <description><![CDATA[Group title]]></description>
    <language><![CDATA[nl-informal]]></language>
    <sid><![CDATA[643976]]></sid>
    <group_order><![CDATA[0]]></group_order>
    <randomization_group/>
    <grelevance/>
   </row>
   <row>
    <id><![CDATA[52]]></id>
    <gid><![CDATA[50]]></gid>
    <group_name><![CDATA[g9]]></group_name>
    <description/>
    <language><![CDATA[nl-informal]]></language>
    <sid><![CDATA[643976]]></sid>
    <group_order><![CDATA[1]]></group_order>
    <randomization_group/>
    <grelevance/>
   </row>
  </rows>
 </group_l10ns>
 <questions>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>parent_qid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>gid</fieldname>
   <fieldname>type</fieldname>
   <fieldname>title</fieldname>
   <fieldname>preg</fieldname>
   <fieldname>other</fieldname>
   <fieldname>mandatory</fieldname>
   <fieldname>encrypted</fieldname>
   <fieldname>question_order</fieldname>
   <fieldname>scale_id</fieldname>
   <fieldname>same_default</fieldname>
   <fieldname>relevance</fieldname>
   <fieldname>question_theme_name</fieldname>
   <fieldname>modulename</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[122]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[41]]></gid>
    <type><![CDATA[L]]></type>
    <title><![CDATA[q01]]></title>
    <preg/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[2]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[listradio]]></question_theme_name>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[126]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[41]]></gid>
    <type><![CDATA[Q]]></type>
    <title><![CDATA[profile]]></title>
    <preg/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[1]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[multipleshorttext]]></question_theme_name>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[50]]></gid>
    <type><![CDATA[L]]></type>
    <title><![CDATA[q09]]></title>
    <preg/>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[1]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[listradio]]></question_theme_name>
    <modulename/>
   </row>
  </rows>
 </questions>
 <subquestions>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>parent_qid</fieldname>
   <fieldname>sid</fieldname>
   <fieldname>gid</fieldname>
   <fieldname>type</fieldname>
   <fieldname>title</fieldname>
   <fieldname>preg</fieldname>
   <fieldname>other</fieldname>
   <fieldname>mandatory</fieldname>
   <fieldname>encrypted</fieldname>
   <fieldname>question_order</fieldname>
   <fieldname>scale_id</fieldname>
   <fieldname>same_default</fieldname>
   <fieldname>relevance</fieldname>
   <fieldname>question_theme_name</fieldname>
   <fieldname>modulename</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[149]]></qid>
    <parent_qid><![CDATA[126]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[41]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[os]]></title>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[1]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[longfreetext]]></question_theme_name>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[150]]></qid>
    <parent_qid><![CDATA[126]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[41]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[ov]]></title>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[2]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[longfreetext]]></question_theme_name>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[151]]></qid>
    <parent_qid><![CDATA[126]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[41]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[br]]></title>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[3]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[longfreetext]]></question_theme_name>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[152]]></qid>
    <parent_qid><![CDATA[126]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[41]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[bv]]></title>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[4]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[longfreetext]]></question_theme_name>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[153]]></qid>
    <parent_qid><![CDATA[126]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[41]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[bm]]></title>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[5]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[longfreetext]]></question_theme_name>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[154]]></qid>
    <parent_qid><![CDATA[126]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[41]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[mb]]></title>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[6]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[longfreetext]]></question_theme_name>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[155]]></qid>
    <parent_qid><![CDATA[126]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[41]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[fl]]></title>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[7]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[longfreetext]]></question_theme_name>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[156]]></qid>
    <parent_qid><![CDATA[126]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[41]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[co]]></title>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[8]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[longfreetext]]></question_theme_name>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[157]]></qid>
    <parent_qid><![CDATA[126]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[41]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[vw]]></title>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[9]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[longfreetext]]></question_theme_name>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[158]]></qid>
    <parent_qid><![CDATA[126]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[41]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[vh]]></title>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[10]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[longfreetext]]></question_theme_name>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[159]]></qid>
    <parent_qid><![CDATA[126]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[41]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[sz]]></title>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[11]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[longfreetext]]></question_theme_name>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[160]]></qid>
    <parent_qid><![CDATA[126]]></parent_qid>
    <sid><![CDATA[643976]]></sid>
    <gid><![CDATA[41]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[ua]]></title>
    <other><![CDATA[N]]></other>
    <mandatory><![CDATA[N]]></mandatory>
    <encrypted><![CDATA[N]]></encrypted>
    <question_order><![CDATA[12]]></question_order>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <question_theme_name><![CDATA[longfreetext]]></question_theme_name>
    <modulename/>
   </row>
  </rows>
 </subquestions>
 <question_l10ns>
  <fields>
   <fieldname>id</fieldname>
   <fieldname>qid</fieldname>
   <fieldname>question</fieldname>
   <fieldname>help</fieldname>
   <fieldname>script</fieldname>
   <fieldname>language</fieldname>
  </fields>
  <rows>
   <row>
    <id><![CDATA[130]]></id>
    <qid><![CDATA[122]]></qid>
    <question><![CDATA[<p>This is a question, the answer with option code C is correct</p>
]]></question>
    <help/>
    <script><![CDATA[$(document).on('ready pjax:scriptcomplete',function(){
	var delay = 5; // Delay time in seconds
	$('#ls-button-submit').addClass('hidden').hide();
	setTimeout(function() {
		$('#ls-button-submit').hide().removeClass('hidden').fadeIn(500);
	}, delay*1000);
 
    $('#question{QID} :radio').on('change', function(e) {
        $('#ls-button-submit').trigger('click');
    });
});]]></script>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[134]]></id>
    <qid><![CDATA[126]]></qid>
    <question><![CDATA[<script type="text/javascript" charset="utf-8">
	/**
	 * JavaScript Client Detection
	 * (C) viazenetti GmbH (Christian Ludwig)
	 * Adapted by Tammo ter Hark after consultation with Joffm
	 */
	(function (window) {
		{
			var unknown = '-';
 
			// screen
			var screenSize = '';
			if (screen.width) {
				width = (screen.width) ? screen.width : '';
				height = (screen.height) ? screen.height : '';
				screenSize += '' + width + " x " + height;
			}
var vpw = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); 
var vph = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); 
			// browser
			var nVer = navigator.appVersion;
			var nAgt = navigator.userAgent;
			var browser = navigator.appName;
			var version = '' + parseFloat(navigator.appVersion);
			var majorVersion = parseInt(navigator.appVersion, 10);
			var nameOffset, verOffset, ix;
 
			// Opera
			if ((verOffset = nAgt.indexOf('Opera')) != -1) {
				browser = 'Opera';
				version = nAgt.substring(verOffset + 6);
				if ((verOffset = nAgt.indexOf('Version')) != -1) {
					version = nAgt.substring(verOffset + 8);
				}
			}
			// Opera Next
			if ((verOffset = nAgt.indexOf('OPR')) != -1) {
				browser = 'Opera';
				version = nAgt.substring(verOffset + 4);
			}
			// MSIE
			else if ((verOffset = nAgt.indexOf('MSIE')) != -1) {
				browser = 'Microsoft Internet Explorer';
				version = nAgt.substring(verOffset + 5);
			}
			// Chrome
			else if ((verOffset = nAgt.indexOf('Chrome')) != -1) {
				browser = 'Chrome';
				version = nAgt.substring(verOffset + 7);
			}
			// Safari
			else if ((verOffset = nAgt.indexOf('Safari')) != -1) {
				browser = 'Safari';
				version = nAgt.substring(verOffset + 7);
				if ((verOffset = nAgt.indexOf('Version')) != -1) {
					version = nAgt.substring(verOffset + 8);
				}
			}
			// Firefox
			else if ((verOffset = nAgt.indexOf('Firefox')) != -1) {
				browser = 'Firefox';
				version = nAgt.substring(verOffset + 8);
			}
			// MSIE 11+
			else if (nAgt.indexOf('Trident/') != -1) {
				browser = 'Microsoft Internet Explorer';
				version = nAgt.substring(nAgt.indexOf('rv:') + 3);
			}
			// Other browsers
			else if ((nameOffset = nAgt.lastIndexOf(' ') + 1) < (verOffset = nAgt.lastIndexOf('/'))) {
				browser = nAgt.substring(nameOffset, verOffset);
				version = nAgt.substring(verOffset + 1);
				if (browser.toLowerCase() == browser.toUpperCase()) {
					browser = navigator.appName;
				}
			}
			// trim the version string
			if ((ix = version.indexOf(';')) != -1) version = version.substring(0, ix);
			if ((ix = version.indexOf(' ')) != -1) version = version.substring(0, ix);
			if ((ix = version.indexOf(')')) != -1) version = version.substring(0, ix);
 
			majorVersion = parseInt('' + version, 10);
			if (isNaN(majorVersion)) {
				version = '' + parseFloat(navigator.appVersion);
				majorVersion = parseInt(navigator.appVersion, 10);
			}
 
			// mobile version
			var mobile = /Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(nVer);
 
			// cookie
			var cookieEnabled = (navigator.cookieEnabled) ? true : false;
 
			if (typeof navigator.cookieEnabled == 'undefined' && !cookieEnabled) {
				document.cookie = 'testcookie';
				cookieEnabled = (document.cookie.indexOf('testcookie') != -1) ? true : false;
			}
 
			// system
			var os = unknown;
			var clientStrings = [
				{ s:'Windows 10', r:/(Windows 10.0|Windows NT 10.0)/ },
				{ s:'Windows 8.1', r:/(Windows 8.1|Windows NT 6.3)/ },
				{ s:'Windows 8', r:/(Windows 8|Windows NT 6.2)/ },
				{ s:'Windows 7', r:/(Windows 7|Windows NT 6.1)/ },
				{ s:'Windows Vista', r:/Windows NT 6.0/ },
				{ s:'Windows Server 2003', r:/Windows NT 5.2/ },
				{ s:'Windows XP', r:/(Windows NT 5.1|Windows XP)/ },
				{ s:'Windows 2000', r:/(Windows NT 5.0|Windows 2000)/ },
				{ s:'Windows ME', r:/(Win 9x 4.90|Windows ME)/ },
				{ s:'Windows 98', r:/(Windows 98|Win98)/ },
				{ s:'Windows 95', r:/(Windows 95|Win95|Windows_95)/ },
				{ s:'Windows NT 4.0', r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/ },
				{ s:'Windows CE', r:/Windows CE/ },
				{ s:'Windows 3.11', r:/Win16/ },
				{ s:'Android', r:/Android/ },
				{ s:'Open BSD', r:/OpenBSD/ },
				{ s:'Sun OS', r:/SunOS/ },
				{ s:'Linux', r:/(Linux|X11)/ },
				{ s:'iOS', r:/(iPhone|iPad|iPod)/ },
				{ s:'Mac OS X', r:/Mac OS X/ },
				{ s:'Mac OS', r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/ },
				{ s:'QNX', r:/QNX/ },
				{ s:'UNIX', r:/UNIX/ },
				{ s:'BeOS', r:/BeOS/ },
				{ s:'OS/2', r:/OS\/2/ },
				{ s:'Search Bot', r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/ }
			];
			for (var id in clientStrings) {
				var cs = clientStrings[id];
				if (cs.r.test(nAgt)) {
					os = cs.s;
					break;
				}
			}
 
			var osVersion = unknown;
 
			if (/Windows/.test(os)) {
				osVersion = /Windows (.*)/.exec(os)[1];
				os = 'Windows';
			}
 
			switch (os) {
				case 'Mac OS X':
					osVersion = /Mac OS X (10[\.\_\d]+)/.exec(nAgt)[1];
					break;
 
				case 'Android':
					osVersion = /Android ([\.\_\d]+)/.exec(nAgt)[1];
					break;
 
				case 'iOS':
					osVersion = /OS (\d+)_(\d+)_?(\d+)?/.exec(nVer);
					osVersion = osVersion[1] + '.' + osVersion[2] + '.' + (osVersion[3] | 0);
					break;
			}
 
			// flash (you'll need to include swfobject)
			/* script src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" */
			var flashVersion = 'no check';
			if (typeof swfobject != 'undefined') {
				var fv = swfobject.getFlashPlayerVersion();
				if (fv.major > 0) {
					flashVersion = fv.major + '.' + fv.minor + ' r' + fv.release;
				}
				else  {
					flashVersion = unknown;
				}
			}
		}
 
		window.jscd = {
			screen: screenSize,
			browser: browser,
			browserVersion: version,
			browserMajorVersion: majorVersion,
			mobile: mobile,
			os: os,
			osVersion: osVersion,
			cookies: cookieEnabled,
			flashVersion: flashVersion,
            vieww : vpw,
            viewh: vph
		};
	}(this));
 
 
$(document).ready(function() {	
 
		// Hide this question (remove double slash below to hide)
		$('#question{QID}').hide();
 
		 var thisQuestion = $('#question{QID}');
// Fill the array
       $('input[type=text]:eq(0)', thisQuestion).val( jscd.os );
       $('input[type=text]:eq(1)', thisQuestion).val( jscd.osVersion );
       $('input[type=text]:eq(2)', thisQuestion).val( jscd.browser );
       $('input[type=text]:eq(3)', thisQuestion).val( jscd.browserMajorVersion );
       $('input[type=text]:eq(4)', thisQuestion).val( jscd.browserVersion );
       $('input[type=text]:eq(5)', thisQuestion).val( jscd.mobile );
       $('input[type=text]:eq(6)', thisQuestion).val( jscd.flashVersion );
       $('input[type=text]:eq(7)', thisQuestion).val( jscd.cookies );
       $('input[type=text]:eq(8)', thisQuestion).val( jscd.vieww );
       $('input[type=text]:eq(9)', thisQuestion).val( jscd.viewh );
       $('input[type=text]:eq(10)', thisQuestion).val( jscd.screen );
       $('input[type=text]:eq(11)', thisQuestion).val(  navigator.userAgent ) ;
    });
</script>]]></question>
    <help/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[147]]></id>
    <qid><![CDATA[139]]></qid>
    <question><![CDATA[<p>This is another question</p>]]></question>
    <help/>
    <script><![CDATA[$(document).on('ready pjax:scriptcomplete',function(){
	var delay = 5; // Delay time in seconds
	$('#ls-button-submit').addClass('hidden').hide();
	setTimeout(function() {
		$('#ls-button-submit').hide().removeClass('hidden').fadeIn(500);
	}, delay*1000);
 
    $('#question{QID} :radio').on('change', function(e) {
        $('#ls-button-submit').trigger('click');
    });
});]]></script>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[157]]></id>
    <qid><![CDATA[149]]></qid>
    <question><![CDATA[OS]]></question>
    <help/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[158]]></id>
    <qid><![CDATA[150]]></qid>
    <question><![CDATA[OS version]]></question>
    <help/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[159]]></id>
    <qid><![CDATA[151]]></qid>
    <question><![CDATA[Browser]]></question>
    <help/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[160]]></id>
    <qid><![CDATA[152]]></qid>
    <question><![CDATA[Browser version]]></question>
    <help/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[161]]></id>
    <qid><![CDATA[153]]></qid>
    <question><![CDATA[Full browser version]]></question>
    <help/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[162]]></id>
    <qid><![CDATA[154]]></qid>
    <question><![CDATA[Mobile]]></question>
    <help/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[163]]></id>
    <qid><![CDATA[155]]></qid>
    <question><![CDATA[Flash]]></question>
    <help/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[164]]></id>
    <qid><![CDATA[156]]></qid>
    <question><![CDATA[Cookies]]></question>
    <help/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[165]]></id>
    <qid><![CDATA[157]]></qid>
    <question><![CDATA[Viewport width]]></question>
    <help/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[166]]></id>
    <qid><![CDATA[158]]></qid>
    <question><![CDATA[Viewport height]]></question>
    <help/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[167]]></id>
    <qid><![CDATA[159]]></qid>
    <question><![CDATA[Screen size]]></question>
    <help/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <id><![CDATA[168]]></id>
    <qid><![CDATA[160]]></qid>
    <question><![CDATA[User agent]]></question>
    <help/>
    <language><![CDATA[nl-informal]]></language>
   </row>
  </rows>
 </question_l10ns>
 <question_attributes>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>attribute</fieldname>
   <fieldname>value</fieldname>
   <fieldname>language</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[alphasort]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[array_filter]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[array_filter_exclude]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[array_filter_style]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[crop_or_resize]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[cssclass]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[display_columns]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[em_validation_q]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[em_validation_q_tip]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[fix_height]]></attribute>
    <value><![CDATA[200]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[fix_width]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[hidden]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[hide_tip]]></attribute>
    <value><![CDATA[1]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[horizontal_scroll]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[keep_aspect]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[other_comment_mandatory]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[other_numbers_only]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[other_replace_text]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[page_break]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[printable_help]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[public_statistics]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[random_group]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[random_order]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[save_as_default]]></attribute>
    <value><![CDATA[N]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[scale_export]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[statistics_graphtype]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[statistics_showgraph]]></attribute>
    <value><![CDATA[1]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_action]]></attribute>
    <value><![CDATA[1]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_countdown_message]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_disable_next]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_disable_prev]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_message]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_message_delay]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_message_style]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_timer_style]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_warning]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_warning_2]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_warning_2_display_time]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_warning_2_message]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_warning_2_style]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_warning_display_time]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_warning_message]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[122]]></qid>
    <attribute><![CDATA[time_limit_warning_style]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[alphasort]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[array_filter]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[array_filter_exclude]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[array_filter_style]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[crop_or_resize]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[cssclass]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[display_columns]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[em_validation_q]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[em_validation_q_tip]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[fix_height]]></attribute>
    <value><![CDATA[200]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[fix_width]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[hidden]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[hide_tip]]></attribute>
    <value><![CDATA[1]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[horizontal_scroll]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[keep_aspect]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[other_comment_mandatory]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[other_numbers_only]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[other_replace_text]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[page_break]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[printable_help]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[public_statistics]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[random_group]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[random_order]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[save_as_default]]></attribute>
    <value><![CDATA[N]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[scale_export]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[statistics_graphtype]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[statistics_showgraph]]></attribute>
    <value><![CDATA[1]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_action]]></attribute>
    <value><![CDATA[1]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_countdown_message]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_disable_next]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_disable_prev]]></attribute>
    <value><![CDATA[0]]></value>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_message]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_message_delay]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_message_style]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_timer_style]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_warning]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_warning_2]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_warning_2_display_time]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_warning_2_message]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_warning_2_style]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_warning_display_time]]></attribute>
    <value/>
    <language/>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_warning_message]]></attribute>
    <value/>
    <language><![CDATA[nl-informal]]></language>
   </row>
   <row>
    <qid><![CDATA[139]]></qid>
    <attribute><![CDATA[time_limit_warning_style]]></attribute>
    <value/>
    <language/>
   </row>
  </rows>
 </question_attributes>
 <surveys>
  <fields>
   <fieldname>sid</fieldname>
   <fieldname>gsid</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>ipanonymize</fieldname>
   <fieldname>refurl</fieldname>
   <fieldname>showsurveypolicynotice</fieldname>
   <fieldname>publicstatistics</fieldname>
   <fieldname>publicgraphs</fieldname>
   <fieldname>listpublic</fieldname>
   <fieldname>htmlemail</fieldname>
   <fieldname>sendconfirmation</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>questionindex</fieldname>
   <fieldname>navigationdelay</fieldname>
   <fieldname>nokeyboard</fieldname>
   <fieldname>alloweditaftercompletion</fieldname>
   <fieldname>googleanalyticsstyle</fieldname>
   <fieldname>googleanalyticsapikey</fieldname>
   <fieldname>tokenencryptionoptions</fieldname>
  </fields>
  <rows>
   <row>
    <sid><![CDATA[643976]]></sid>
    <gsid><![CDATA[1]]></gsid>
    <admin><![CDATA[Respondage Survey Admin]]></admin>
    <adminemail><![CDATA[tammo.terhark@respondage.nl]]></adminemail>
    <anonymized><![CDATA[N]]></anonymized>
    <faxto/>
    <format><![CDATA[G]]></format>
    <savetimings><![CDATA[Y]]></savetimings>
    <template><![CDATA[respondage_plain]]></template>
    <language><![CDATA[nl-informal]]></language>
    <additional_languages/>
    <datestamp><![CDATA[Y]]></datestamp>
    <usecookie><![CDATA[N]]></usecookie>
    <allowregister><![CDATA[N]]></allowregister>
    <allowsave><![CDATA[N]]></allowsave>
    <autonumber_start><![CDATA[77]]></autonumber_start>
    <autoredirect><![CDATA[N]]></autoredirect>
    <allowprev><![CDATA[N]]></allowprev>
    <printanswers><![CDATA[N]]></printanswers>
    <ipaddr><![CDATA[N]]></ipaddr>
    <ipanonymize><![CDATA[N]]></ipanonymize>
    <refurl><![CDATA[N]]></refurl>
    <showsurveypolicynotice><![CDATA[0]]></showsurveypolicynotice>
    <publicstatistics><![CDATA[N]]></publicstatistics>
    <publicgraphs><![CDATA[N]]></publicgraphs>
    <listpublic><![CDATA[N]]></listpublic>
    <htmlemail><![CDATA[Y]]></htmlemail>
    <sendconfirmation><![CDATA[Y]]></sendconfirmation>
    <tokenanswerspersistence><![CDATA[N]]></tokenanswerspersistence>
    <assessments><![CDATA[N]]></assessments>
    <usecaptcha><![CDATA[N]]></usecaptcha>
    <usetokens><![CDATA[N]]></usetokens>
    <bounce_email><![CDATA[tammo.terhark@respondage.nl]]></bounce_email>
    <emailresponseto><![CDATA[tammo.terhark@respondage.nl]]></emailresponseto>
    <emailnotificationto/>
    <tokenlength><![CDATA[15]]></tokenlength>
    <showxquestions><![CDATA[N]]></showxquestions>
    <showgroupinfo><![CDATA[X]]></showgroupinfo>
    <shownoanswer><![CDATA[N]]></shownoanswer>
    <showqnumcode><![CDATA[X]]></showqnumcode>
    <bounceprocessing><![CDATA[N]]></bounceprocessing>
    <showwelcome><![CDATA[N]]></showwelcome>
    <showprogress><![CDATA[N]]></showprogress>
    <questionindex><![CDATA[0]]></questionindex>
    <navigationdelay><![CDATA[0]]></navigationdelay>
    <nokeyboard><![CDATA[N]]></nokeyboard>
    <alloweditaftercompletion><![CDATA[N]]></alloweditaftercompletion>
    <googleanalyticsstyle><![CDATA[0]]></googleanalyticsstyle>
    <googleanalyticsapikey/>
    <tokenencryptionoptions/>
   </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_policy_notice</fieldname>
   <fieldname>surveyls_policy_error</fieldname>
   <fieldname>surveyls_policy_notice_label</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>surveyls_attributecaptions</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>attachments</fieldname>
  </fields>
  <rows>
   <row>
    <surveyls_survey_id><![CDATA[643976]]></surveyls_survey_id>
    <surveyls_language><![CDATA[nl-informal]]></surveyls_language>
    <surveyls_title><![CDATA[Test javascript]]></surveyls_title>
    <surveyls_description/>
    <surveyls_welcometext/>
    <surveyls_endtext/>
    <surveyls_url/>
    <surveyls_urldescription/>
    <surveyls_email_invite_subj><![CDATA[Uitnodiging om deel te nemen aan een vragenlijst]]></surveyls_email_invite_subj>
    <surveyls_email_invite><![CDATA[Beste {FIRSTNAME},<br />
<br />
Je wordt uitgenodigd om deel te nemen aan een onderzoek.<br />
<br />
Het onderzoek is genaamd:<br />
'{SURVEYNAME}'<br />
<br />
'{SURVEYDESCRIPTION}'<br />
<br />
Om aan het onderzoek deel te nemen moet je op onderstaande link klikken.<br />
<br />
Met vriendelijke groeten,<br />
<br />
{ADMINNAME} ({ADMINEMAIL})<br />
<br />
----------------------------------------------<br />
Klik op {SURVEYURL}<br />
 om aan het onderzoek deel te nemen.<br />
<br />
Als je deze vragenlijst niet wilt invullen en ook geen nieuwe uitnodigingen wilt ontvangen, klik dan op de volgende link: {OPTOUTURL}<br />
<br />
Als je bent uitgesloten, maar toch deze vragenlijst wilt invullen en ook nieuwe uitnodigingen wilt ontvangen, klik dan op de volgende link:<br />
{OPTINURL}]]></surveyls_email_invite>
    <surveyls_email_remind_subj><![CDATA[Herinnering om deel te nemen aan een vragenlijst]]></surveyls_email_remind_subj>
    <surveyls_email_remind><![CDATA[Beste {FIRSTNAME},<br />
<br />
Recent bent je uitgenodigd om aan een onderzoek deel te nemen.<br />
<br />
We hebben geconstateerd dat je nog niet aan het onderzoek hebt deelgenomen en willen je er bij deze aan herinneren dat het onderzoek nog loopt en dat je, als je dat wilt, nog kan deelnemen. <br />
<br />
Het onderzoek is getiteld: <br />
''{SURVEYNAME}"<br />
<br />
''{SURVEYDESCRIPTION}"<br />
<br />
Om deel te nemen klik je op onderstaande link. <br />
<br />
Hoogachtend,<br />
<br />
{ADMINNAME} ({ADMINEMAIL})<br />
<br />
----------------------------------------------<br />
Klik op:<br />
{SURVEYURL} om aan het onderzoek deel te nemen.<br />
<br />
Als je deze vragenlijst niet wilt invullen en ook geen nieuwe uitnodigingen wilt ontvangen, klik dan op de volgende link: {OPTOUTURL}]]></surveyls_email_remind>
    <surveyls_email_register_subj><![CDATA[Bevestiging registratie vragenlijst]]></surveyls_email_register_subj>
    <surveyls_email_register><![CDATA[Beste {FIRSTNAME},<br />
<br />
Je, of iemand die je e-mailadres gebruikt, heeft zich aangemeld voor deelname aan het online onderzoek {SURVEYNAME}.<br />
<br />
Klik op onderstaande link om aan het onderzoek mee te doen:<br />
<br />
{SURVEYURL}<br />
<br />
Als je vragen hebt over de vragenlijst, of als je je niet hebt aangemeld voor deelname en meent dat je deze e-mail ten onrechte hebt ontvangen, kun je contact opnemen met {ADMINNAME} via {ADMINEMAIL}.]]></surveyls_email_register>
    <surveyls_email_confirm_subj><![CDATA[Bevestiging van je deelname aan de vragenlijst]]></surveyls_email_confirm_subj>
    <surveyls_email_confirm><![CDATA[Beste {FIRSTNAME},<br />
<br />
Dit e-mail bericht bevestigt dat je de vragenlijst {SURVEYNAME} hebt ingevuld en dat je antwoorden zijn verwerkt. Bedankt voor de deelname.<br />
<br />
Als je vragen hebt over deze e-mail, neem dan contact op met de beheerder {ADMINNAME} via {ADMINEMAIL}.<br />
<br />
Met vriendelijke groeten,<br />
<br />
{ADMINNAME}]]></surveyls_email_confirm>
    <surveyls_dateformat><![CDATA[2]]></surveyls_dateformat>
    <email_admin_notification_subj><![CDATA[Respons op vragenlijst {SURVEYNAME}]]></email_admin_notification_subj>
    <email_admin_notification><![CDATA[Hallo,<br />
<br />
Er is een nieuwe reactie op je vragenlijst '{SURVEYNAME}'.<br />
<br />
Om de reactie te bekijken:<br />
{VIEWRESPONSEURL}<br />
<br />
Om de reactie te wijzigen:<br />
{EDITRESPONSEURL}<br />
<br />
Om de statistieken te bekijken:<br />
{STATISTICSURL}]]></email_admin_notification>
    <email_admin_responses_subj><![CDATA[Respons op vragenlijst {SURVEYNAME} met resultaten]]></email_admin_responses_subj>
    <email_admin_responses><![CDATA[Hallo,<br />
<br />
Er is een nieuwe reactie op je vragenlijst  '{SURVEYNAME}'.<br />
<br />
Om de reactie te bekijken:<br />
{VIEWRESPONSEURL}<br />
<br />
Om de reactie te wijzigen:<br />
{EDITRESPONSEURL}<br />
<br />
Om de statistieken te bekijken:<br />
{STATISTICSURL}<br />
<br />
<br />
De deelnemer heeft de volgende antwoorden gegeven:<br />
{ANSWERTABLE}]]></email_admin_responses>
    <surveyls_numberformat><![CDATA[0]]></surveyls_numberformat>
   </row>
  </rows>
 </surveys_languagesettings>
 <themes>
  <theme>
   <sid>643976</sid>
   <template_name>bootswatch</template_name>
   <config>
    <options>inherit</options>
   </config>
  </theme>
  <theme>
   <sid>643976</sid>
   <template_name>fruity</template_name>
   <config>
    <options>
     <font>inherit</font>
     <bodybackgroundcolor>#c0c0c0</bodybackgroundcolor>
     <fontcolor>inherit</fontcolor>
     <questionbackgroundcolor>inherit</questionbackgroundcolor>
     <checkicon>f00c</checkicon>
     <backgroundimagefile>upload/surveys/887683/images/805697a0263b2e8b2ecad3729d7279ac.jpg</backgroundimagefile>
     <brandlogofile>inherit</brandlogofile>
     <bodyanimation>fadeInLeft</bodyanimation>
     <bodyanimationduration>1000</bodyanimationduration>
     <questionanimation>inherit</questionanimation>
     <questionanimationduration>inherit</questionanimationduration>
     <alertanimation>inherit</alertanimation>
     <alertanimationduration>inherit</alertanimationduration>
     <checkboxanimation>inherit</checkboxanimation>
     <checkboxanimationduration>inherit</checkboxanimationduration>
     <radioanimation>tada</radioanimation>
     <radioanimationduration>500</radioanimationduration>
     <container>on</container>
     <questionborder>on</questionborder>
     <questioncontainershadow>on</questioncontainershadow>
     <showpopups>inherit</showpopups>
     <fixnumauto>inherit</fixnumauto>
     <zebrastriping>inherit</zebrastriping>
     <stickymatrixheaders>inherit</stickymatrixheaders>
     <greyoutselected>inherit</greyoutselected>
     <hideprivacyinfo>inherit</hideprivacyinfo>
     <crosshover>inherit</crosshover>
     <backgroundimage>on</backgroundimage>
     <brandlogo>inherit</brandlogo>
     <animatebody>on</animatebody>
     <animatequestion>inherit</animatequestion>
     <animatealert>inherit</animatealert>
     <animatecheckbox>inherit</animatecheckbox>
     <animateradio>on</animateradio>
    </options>
   </config>
  </theme>
  <theme>
   <sid>643976</sid>
   <template_name>respondage_plain</template_name>
   <config>
    <options>
     <font>inherit</font>
     <cssframework>inherit</cssframework>
     <bodybackgroundcolor>inherit</bodybackgroundcolor>
     <fontcolor>inherit</fontcolor>
     <questionbackgroundcolor>inherit</questionbackgroundcolor>
     <checkicon>inherit</checkicon>
     <backgroundimagefile>inherit</backgroundimagefile>
     <brandlogofile>invalid:image::survey::logoapotheek.png</brandlogofile>
     <container>inherit</container>
     <zebrastriping>inherit</zebrastriping>
     <stickymatrixheaders>inherit</stickymatrixheaders>
     <greyoutselected>inherit</greyoutselected>
     <hideprivacyinfo>inherit</hideprivacyinfo>
     <crosshover>inherit</crosshover>
     <showpopups>inherit</showpopups>
     <notables>inherit</notables>
     <showclearall>inherit</showclearall>
     <questionhelptextposition>inherit</questionhelptextposition>
     <fixnumauto>inherit</fixnumauto>
     <questionborder>inherit</questionborder>
     <questioncontainershadow>inherit</questioncontainershadow>
     <backgroundimage>inherit</backgroundimage>
     <backgroundimagedisplay>inherit</backgroundimagedisplay>
     <brandlogo>inherit</brandlogo>
    </options>
   </config>
  </theme>
  <theme>
   <sid>643976</sid>
   <template_name>vanilla</template_name>
   <config>
    <options>inherit</options>
   </config>
  </theme>
 </themes>
 <themes_inherited>
  <theme>
   <sid>643976</sid>
   <template_name>bootswatch</template_name>
   <config>
    <options>
     <container>on</container>
     <zebrastriping>off</zebrastriping>
     <stickymatrixheaders>off</stickymatrixheaders>
     <greyoutselected>off</greyoutselected>
     <hideprivacyinfo>off</hideprivacyinfo>
     <crosshover>off</crosshover>
     <showpopups>1</showpopups>
     <notables>1</notables>
     <showclearall>off</showclearall>
     <questionhelptextposition>top</questionhelptextposition>
     <fixnumauto>off</fixnumauto>
     <questionborder>on</questionborder>
     <questioncontainershadow>on</questioncontainershadow>
     <bodybackgroundcolor>#ffffff</bodybackgroundcolor>
     <fontcolor>#444444</fontcolor>
     <questionbackgroundcolor>#ffffff</questionbackgroundcolor>
     <backgroundimage>off</backgroundimage>
     <backgroundimagedisplay>cover</backgroundimagedisplay>
     <brandlogo>on</brandlogo>
     <brandlogofile>image::theme::files/logo.png</brandlogofile>
    </options>
   </config>
  </theme>
  <theme>
   <sid>643976</sid>
   <template_name>fruity</template_name>
   <config>
    <options>
     <bodybackgroundcolor>#c0c0c0</bodybackgroundcolor>
     <fontcolor>#444444</fontcolor>
     <questionbackgroundcolor>#ffffff</questionbackgroundcolor>
     <checkicon>f00c</checkicon>
     <backgroundimagefile>upload/surveys/887683/images/805697a0263b2e8b2ecad3729d7279ac.jpg</backgroundimagefile>
     <brandlogofile>image::theme::files/logo.png</brandlogofile>
     <bodyanimation>fadeInLeft</bodyanimation>
     <bodyanimationduration>1000</bodyanimationduration>
     <radioanimation>tada</radioanimation>
     <radioanimationduration>500</radioanimationduration>
     <container>on</container>
     <questionborder>on</questionborder>
     <questioncontainershadow>on</questioncontainershadow>
     <showpopups>1</showpopups>
     <fixnumauto>off</fixnumauto>
     <zebrastriping>off</zebrastriping>
     <stickymatrixheaders>off</stickymatrixheaders>
     <greyoutselected>off</greyoutselected>
     <hideprivacyinfo>off</hideprivacyinfo>
     <crosshover>off</crosshover>
     <backgroundimage>on</backgroundimage>
     <brandlogo>on</brandlogo>
     <animatebody>on</animatebody>
     <animateradio>on</animateradio>
    </options>
   </config>
  </theme>
  <theme>
   <sid>643976</sid>
   <template_name>respondage_plain</template_name>
   <config>
    <options>
     <bodybackgroundcolor>#ffffff</bodybackgroundcolor>
     <fontcolor>#444444</fontcolor>
     <questionbackgroundcolor>#ffffff</questionbackgroundcolor>
     <brandlogofile>invalid:image::survey::logoapotheek.png</brandlogofile>
     <container>on</container>
     <zebrastriping>off</zebrastriping>
     <stickymatrixheaders>off</stickymatrixheaders>
     <greyoutselected>off</greyoutselected>
     <hideprivacyinfo>off</hideprivacyinfo>
     <crosshover>off</crosshover>
     <showpopups>1</showpopups>
     <notables>1</notables>
     <showclearall>off</showclearall>
     <questionhelptextposition>top</questionhelptextposition>
     <fixnumauto>off</fixnumauto>
     <questionborder>on</questionborder>
     <questioncontainershadow>on</questioncontainershadow>
     <backgroundimage>off</backgroundimage>
     <backgroundimagedisplay>cover</backgroundimagedisplay>
     <brandlogo>on</brandlogo>
    </options>
   </config>
  </theme>
  <theme>
   <sid>643976</sid>
   <template_name>vanilla</template_name>
   <config>
    <options>
     <container>on</container>
     <zebrastriping>off</zebrastriping>
     <stickymatrixheaders>off</stickymatrixheaders>
     <greyoutselected>off</greyoutselected>
     <hideprivacyinfo>off</hideprivacyinfo>
     <crosshover>off</crosshover>
     <showpopups>1</showpopups>
     <notables>1</notables>
     <showclearall>off</showclearall>
     <questionhelptextposition>top</questionhelptextposition>
     <fixnumauto>off</fixnumauto>
     <questionborder>on</questionborder>
     <questioncontainershadow>on</questioncontainershadow>
     <bodybackgroundcolor>#ffffff</bodybackgroundcolor>
     <fontcolor>#444444</fontcolor>
     <questionbackgroundcolor>#ffffff</questionbackgroundcolor>
     <backgroundimage>off</backgroundimage>
     <backgroundimagedisplay>cover</backgroundimagedisplay>
     <brandlogo>on</brandlogo>
     <brandlogofile>image::theme::files/logo.png</brandlogofile>
    </options>
   </config>
  </theme>
 </themes_inherited>
</document>
test_javascript.lss (61,135 bytes)   
DenisChenu

DenisChenu

2022-01-17 17:57

developer   ~68033

related ?
https://bugs.limesurvey.org/view.php?id=17740

tammo

tammo

2022-01-17 19:19

developer   ~68035

Last edited: 2022-01-31 09:19

Could be, not sure. I am not good enough a coder to see that.

DenisChenu

DenisChenu

2022-01-18 08:45

developer   ~68036

Last edited: 2022-01-31 09:19

No : it's survey the document ready issue …
remove the doc ready part : it work.

tammo

tammo

2022-01-24 19:56

developer   ~68081

Last edited: 2022-01-31 09:19

You were right, Denis, thank you.

tammo

tammo

2022-01-24 20:44

developer   ~68084

Last edited: 2022-01-31 09:19

Tested with new superadmin user.

It only works for the admin.

Not even for other users that have superadmin status in my installation.

DenisChenu

DenisChenu

2022-01-25 07:51

developer   ~68085

Last edited: 2022-01-31 09:19

Not even for other users that have superadmin status in my installation.

It's another issue here ? No ?
It was saved or not for superadmin ?

tammo

tammo

2022-01-25 11:17

developer   ~68088

Last edited: 2022-01-31 09:19

Right, what I described is a different issue. @galads do you want me to write another bug report of will you take up from here?

galads

galads

2022-01-26 12:18

administrator   ~68111

Last edited: 2022-01-31 09:19

Hello @tammo, you can edit this report instead of creating a new one. Or better still, add more comments to reflect the new issue.

tammo

tammo

2022-01-27 09:10

developer   ~68118

Last edited: 2022-01-31 09:19

Done

gabrieljenik

gabrieljenik

2022-02-22 13:32

manager   ~68353

I'm not sure there is a bug.

The other users do not see the Script tab because by default they have it disabled.
If they enable it in personal settings it works.
They don't even need to be superadmins.

Maybe we should set the script personal setting to TRUE by default?

tammo

tammo

2022-02-22 15:29

developer   ~68355

Yes, please set this by default to TRUE and only hide it when the user has no permission to use Javascript.
This will make the usage of this much clearer.

@tpartner @joffm: you are extensive users of Javascript, what do you think?

Scripts will have to be entered in a different way than before. (without the <script> tag and the "when ready" clause...)

tpartner

tpartner

2022-02-22 15:34

partner   ~68356

I never use that tab.

gabrieljenik

gabrieljenik

2022-02-22 15:59

manager   ~68357

only hide it when the user has no permission to use Javascript

When does that happens?

DenisChenu

DenisChenu

2022-02-22 16:03

developer   ~68358

Don't hide … show it as readonly …

And clearly : user settings is totally unecessary … silly setting.

gabrieljenik

gabrieljenik

2022-02-22 16:09

manager   ~68359

Don't hide … show it as readonly …

When that should be hidden?

DenisChenu

DenisChenu

2022-02-22 16:10

developer   ~68360

Never , no reason to hide it …

But we have a User setting : then when user setting is set to hide …

tammo

tammo

2022-02-22 16:46

developer   ~68361

Agree: show by default, hide by user setting.

gabrieljenik

gabrieljenik

2022-02-23 13:10

manager   ~68384

https://github.com/LimeSurvey/LimeSurvey/pull/2266

Enable 'Show script field' user setting by default

gabrieljenik

gabrieljenik

2022-02-28 11:35

manager   ~68419

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=33286

LimeBot

LimeBot

2022-02-28 12:58

administrator   ~68426

Fixed in Release 5.3.0+220228

Related Changesets

LimeSurvey: master 7bef4013

2022-02-28 11:35:21

gabrieljenik


Committer: GitHub Details Diff
Fixed issue 17838: Add javascript in script tab only works for superadmin (#2266)

- Enable 'Show script field' user setting by default

Co-authored-by: encuestabizdevgit <devgit@encuesta.biz>
Affected Issues
17838
mod - application/core/LsDefaultDataSets.php Diff File
mod - application/views/admin/user/personalsettings.php Diff File

Issue History

Date Modified Username Field Change
2022-01-17 16:14 tammo New Issue
2022-01-17 16:14 tammo File Added: test_javascript.lss
2022-01-17 17:57 DenisChenu Note Added: 68033
2022-01-17 17:57 DenisChenu Bug heat 0 => 2
2022-01-17 19:19 tammo Note Added: 68035
2022-01-17 19:19 tammo Bug heat 2 => 4
2022-01-17 19:20 tammo Relationship added related to 17740
2022-01-18 08:45 DenisChenu Note Added: 68036
2022-01-18 10:30 galads Assigned To => galads
2022-01-18 10:30 galads Status new => confirmed
2022-01-24 19:56 tammo Note Added: 68081
2022-01-24 19:57 tammo Status confirmed => closed
2022-01-24 19:57 tammo Resolution open => fixed
2022-01-24 20:44 tammo Status closed => confirmed
2022-01-24 20:44 tammo Note Added: 68084
2022-01-25 07:51 DenisChenu Note Added: 68085
2022-01-25 10:14 galads Status confirmed => acknowledged
2022-01-25 11:17 tammo Note Added: 68088
2022-01-26 12:18 galads Note Added: 68111
2022-01-26 12:18 galads Bug heat 4 => 6
2022-01-26 12:48 tammo Summary Add javascript in script tab => Add javascript in script tab only works for superadmin (user 1)
2022-01-26 12:48 tammo Description Updated
2022-01-26 12:48 tammo Additional Information Updated
2022-01-27 09:10 tammo Note Added: 68118
2022-01-31 09:19 galads Zoho Project Synchronization => |Yes|
2022-02-22 13:32 gabrieljenik Note Added: 68353
2022-02-22 13:32 gabrieljenik Bug heat 6 => 8
2022-02-22 15:29 tammo Note Added: 68355
2022-02-22 15:34 tpartner Note Added: 68356
2022-02-22 15:34 tpartner Bug heat 8 => 10
2022-02-22 15:59 gabrieljenik Note Added: 68357
2022-02-22 16:03 DenisChenu Note Added: 68358
2022-02-22 16:09 gabrieljenik Note Added: 68359
2022-02-22 16:10 DenisChenu Note Added: 68360
2022-02-22 16:46 tammo Note Added: 68361
2022-02-23 13:10 gabrieljenik Note Added: 68384
2022-02-28 11:28 galads Status acknowledged => testing
2022-02-28 11:35 gabrieljenik Changeset attached => LimeSurvey master 7bef4013
2022-02-28 11:35 gabrieljenik Note Added: 68419
2022-02-28 11:35 gabrieljenik Assigned To galads => gabrieljenik
2022-02-28 12:58 LimeBot Zoho Project Synchronization Yes => |Yes|
2022-02-28 12:58 LimeBot Note Added: 68426
2022-02-28 12:58 LimeBot Status testing => closed
2022-02-28 12:58 LimeBot Bug heat 10 => 12