Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:create:table-layout-dropdowns [05.02.2015 16:46] – [Version 2] alexander.ritteren:create:table-layout-dropdowns [16.06.2015 22:45] – [Version 1] admin
Line 42: Line 42:
 <table width="100%" cellspacing="0" cellpadding="0" border="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0">
   <colgroup>   <colgroup>
-    <col width="20%"> +    <col width="22%"> 
-    <col width="20%"> +    <col width="18%"> 
-    <col width="20%"> +    <col width="22%"> 
-    <col width="20%">+    <col width="18%">
     <col width="20%">     <col width="20%">
   </colgroup>   </colgroup>
   <tr>   <tr>
-    <td>%ST17%</td>+    <td>from: %ST17%</td>
     <td>%ST18%</td>     <td>%ST18%</td>
-    <td>%ST19%</td>+    <td>to: %ST19%</td>
     <td>%ST20%</td>     <td>%ST20%</td>
     <td>     <td>
Line 153: Line 153:
 ==== JavaScript for "to date" Option ==== ==== JavaScript for "to date" Option ====
  
-Now the questionnaire still has to ensure that the dropdown fields for the end date are disabled if "to date" was selected.+Now the questionnaire still has make sure the dropdown fields for the end date are disabled if "to date" was selected.
  
 Insert the following JavaScript code as a text element (recommended) at the end of the questionnaire page, or as a HTML code element.  Insert the following JavaScript code as a text element (recommended) at the end of the questionnaire page, or as a HTML code element. 
Line 179: Line 179:
 ==== Check Input ==== ==== Check Input ====
  
-If you want to install an additional consistency check in order to verify that a participant's input is sensible, do this with a filter on the __next__ page in the questionnaire ([[:en:create:checks#customized_response_check|Check Responses: Customized Response Check]]). In order to program this filter, you need the return values of your individual questions, which you can take from the **Variables Overview**.+If you want to install an additional consistency check in order to verify that a participant's input is sensible, do this with a filter on the __next__ page in the questionnaire ([[:en:create:checks#customized_response_check|Check Responses: Customized Response Check]]). In order to program this filter, you need the return values of your individual questions, which can be taken from the **Variables Overview**.
  
-If you have created the questions as shown in the examples, the following will be shown: +If you have created the questions as demonstrated in the examples, you will see the following:
-:+
  
   * [ST17] and [ST19] respectively\\ 1 = January\\ 2 = February\\ ...\\ 12 = December\\ -9 = not answered   * [ST17] and [ST19] respectively\\ 1 = January\\ 2 = February\\ ...\\ 12 = December\\ -9 = not answered
Line 188: Line 187:
   * [ST21]\\ 1 = not selected\\ 2 = selected   * [ST21]\\ 1 = not selected\\ 2 = selected
  
-A filter is used to ensure that the date of leaving the company is always after the date of joining the company. In order to do this, ST19 has to accept a later month than ST18if the person joined and left within the same year. As long as the year of leaving (ST20) is chronologically after the year of joining (ST18), the month is arbitrary. +A filter is used to ensure that the date of leaving the company is always after the date of joining the company. In order to do this, ST19 has to accept a later month than ST18 if the person joined and left within the same year. As long as the year of leaving (ST20) is chronologically after the year of joining (ST18), the month is arbitrary. 
  
 In order to show the participant an error message and redisplay the question in these circumstances, create a text element in the **Text Elements and Labels** menu, which you can then use later on as an error message ("durationE" in the example). In order to show the participant an error message and redisplay the question in these circumstances, create a text element in the **Text Elements and Labels** menu, which you can then use later on as an error message ("durationE" in the example).
en/create/table-layout-dropdowns.txt · Last modified: 23.04.2021 17:29 by sophia.schauer
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki