This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:create:table-layout-dropdowns [05.02.2015 16:46] – [Version 2] alexander.ritter | en:create:table-layout-dropdowns [05.02.2015 16:47] – [JavaScript for to date Option] alexander.ritter | ||
---|---|---|---|
Line 96: | Line 96: | ||
The first dropdown input field (month in which the person started working) is now inserted with a line of PHP code -- or drag the question onto the page and customize the display settings ({{: | The first dropdown input field (month in which the person started working) is now inserted with a line of PHP code -- or drag the question onto the page and customize the display settings ({{: | ||
- | The options in the '' | + | The options in the '' |
<code php> | <code php> | ||
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. |