<?xml version="1.0" encoding="UTF-8"?>
<document>
 <LimeSurveyDocType>Question</LimeSurveyDocType>
 <DBVersion>261</DBVersion>
 <languages>
  <language>en</language>
 </languages>
 <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>
   <fieldname>modulename</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[1]]></qid>
    <parent_qid><![CDATA[0]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[:]]></type>
    <title><![CDATA[A01]]></title>
    <question><![CDATA[<p><strong>Fill the following table with proposal of the drop down menu</strong>.</p>

<p><em>You can fill the transportation, build-up area and (semi-)natural lines only (corresponding unfilled sublines will be considered taken the same values) or fill the sublines too (one or several cells) to distinguish values.</em>></p>

<p>For instance, <em>interest groups</em> can be partially involved about the development of <em>build-up area</em> but you can specify that they are always involved <em>about industrial activity</em> and <em>commerce/services</em>.</p>
<script type="text/javascript" charset="utf-8">
	$(document).ready(function(){
        $('#question1 .answer_cell_SQ001 option[value=0]').text('not involved');
        $('#question1 .answer_cell_SQ001 option[value=1]').text('partially involved');
        $('#question1 .answer_cell_SQ001 option[value=2]').text('always involved');

        $('#question1 .answer_cell_SQ002 option[value=0]').text('not involved');
        $('#question1 .answer_cell_SQ002 option[value=1]').text('partially involved');
        $('#question1 .answer_cell_SQ002 option[value=2]').text('always involved');

        $('#question1 .answer_cell_SQ003 option[value=0]').text('not involved');
        $('#question1 .answer_cell_SQ003 option[value=1]').text('partially involved');
        $('#question1 .answer_cell_SQ003 option[value=2]').text('always involved');

        $('#question1 .answer_cell_SQ004 option[value=0]').text('No practice in ');
        $('#question1 .answer_cell_SQ004 option[value=1]').text('Short-term experience in ');
        $('#question1 .answer_cell_SQ004 option[value=2]').text('Long-term experience in ');

        $('#question1 .answer_cell_SQ005 option[value=0]').text('was not achieved');
        $('#question1 .answer_cell_SQ005 option[value=1]').text('was partially achieved');
        $('#question1 .answer_cell_SQ005 option[value=2]').text('was fully achieved');

        $('#question1 .answer_cell_SQ006 option[value=0]').text('was weak');
        $('#question1 .answer_cell_SQ006 option[value=1]').text('was medium');
        $('#question1 .answer_cell_SQ006 option[value=2]').text('was strong');
		
		// Call the mandatory row function with question ID
		mandatoryRows(1);
		// A function to render all but the last rows of an array mandatory
		function mandatoryRows(qID) {
			var warningText = 'Please complete the highlighted rows.'; 
			// Add a mandatory class to all rows except the last one
			$('div#question'+qID+' table.question tbody[id^="javatbd"]:not(:last) tr').addClass('mandatory'); 
			// Interrupt the submit function
			$('#movenextbtn, #movesubmitbtn').click(function(){
				var fail = ''; 
				// Loop through all mandatory rows and check for answers
				$('tr.mandatory').each(function(i){
					if($('input.radio:checked', this).length < 1) {
						 $('th, td', this).css({ 'background':'pink' });
						 fail = 1;
					}
					else {
						 $('th, td', this).css({ 'background':'' });
					}
				}); 
				if(fail == 1) {
					alert (warningText);
					return false;
				}
				else {
					return true;
				}
			});
		}
    });
</script>]]></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[1]]></relevance>
    <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>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>
   <fieldname>modulename</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[2]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[:]]></type>
    <title><![CDATA[SQ001]]></title>
    <question><![CDATA[Transportation insfrastructures]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[1]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[8]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ002]]></title>
    <question><![CDATA[<div><p style="margin-left: 20px;">Non-linear infrastructure<br /><span style="font-size:11px;"> such as port, airport...</span></p></div>]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[2]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[9]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ003]]></title>
    <question><![CDATA[<div><p style="margin-left: 20px;">Linear infrastructure<br /><span style="font-size:11px;"> such as highway...</span></p></div>]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[3]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[3]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[:]]></type>
    <title><![CDATA[SQ004]]></title>
    <question><![CDATA[Build-up areas]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[4]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[11]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ005]]></title>
    <question><![CDATA[<div><p style="margin-left: 20px;">Industrial areas</p></div>]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[5]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[12]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ006]]></title>
    <question><![CDATA[<div><p style="margin-left: 20px;">Commerce/service<br /><span style="font-size:11px;"> such as shop, CBD...</span></p></div>]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[6]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[13]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ007]]></title>
    <question><![CDATA[<div><p style="margin-left: 20px;">High intensity housing<br /><span style="font-size:11px;"> such as tower, collective housing ...</span></p></div>]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[7]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[14]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ008]]></title>
    <question><![CDATA[<div><p style="margin-left: 20px;">Low intensity housing<br /><span style="font-size:11px;"> such as individual housing ...</span></p></div>]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[8]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[15]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ009]]></title>
    <question><![CDATA[<div><p style="margin-left: 20px;">Mixed-use<br /><span style="font-size:11px;"> such as housing and commerce ...</span></p></div>]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[9]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[4]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[:]]></type>
    <title><![CDATA[SQ010]]></title>
    <question><![CDATA[(Semi)-natural areas]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[10]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[16]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ011]]></title>
    <question><![CDATA[<div><p style="margin-left: 20px;">Agricultural areas</p></div>]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[11]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[17]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ012]]></title>
    <question><![CDATA[</div> <div><p style="margin-left: 20px;">Forest</p></div>]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[12]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[18]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ013]]></title>
    <question><![CDATA[<div><p style="margin-left: 20px;">Water<br /><span style="font-size:11px;"> such as river, lake ...</span></p></div>]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[13]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[0]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[5]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ001]]></title>
    <question><![CDATA[Experts]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[1]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[1]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance><![CDATA[1]]></relevance>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[6]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ002]]></title>
    <question><![CDATA[Interest groups]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[2]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[1]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[7]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ003]]></title>
    <question><![CDATA[Citizen]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[3]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[1]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[19]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ004]]></title>
    <question><![CDATA[Spatial planning]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[4]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[1]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[20]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ005]]></title>
    <question><![CDATA[Consensus]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[5]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[1]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
   <row>
    <qid><![CDATA[21]]></qid>
    <parent_qid><![CDATA[1]]></parent_qid>
    <sid><![CDATA[484128]]></sid>
    <gid><![CDATA[1]]></gid>
    <type><![CDATA[T]]></type>
    <title><![CDATA[SQ006]]></title>
    <question><![CDATA[Coordination]]></question>
    <other><![CDATA[N]]></other>
    <question_order><![CDATA[6]]></question_order>
    <language><![CDATA[en]]></language>
    <scale_id><![CDATA[1]]></scale_id>
    <same_default><![CDATA[0]]></same_default>
    <relevance/>
    <modulename/>
   </row>
  </rows>
 </subquestions>
 <question_attributes>
  <fields>
   <fieldname>qid</fieldname>
   <fieldname>attribute</fieldname>
   <fieldname>value</fieldname>
   <fieldname>language</fieldname>
  </fields>
  <rows>
   <row>
    <qid><![CDATA[1]]></qid>
    <attribute><![CDATA[answer_width]]></attribute>
    <value><![CDATA[15]]></value>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <attribute><![CDATA[multiflexible_max]]></attribute>
    <value><![CDATA[2]]></value>
   </row>
   <row>
    <qid><![CDATA[1]]></qid>
    <attribute><![CDATA[multiflexible_min]]></attribute>
    <value><![CDATA[0]]></value>
   </row>
  </rows>
 </question_attributes>
</document>
