Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
en:create:inputs-custom [06.01.2015 20:34] – [Example: Use of JavaScript] alexander.ritter | en:create:inputs-custom [06.01.2015 20:35] – [Example: Use of JavaScript] alexander.ritter |
---|
| |
- Remove ''prepare_input()'' from the questionnaire page. | - Remove ''prepare_input()'' from the questionnaire page. |
- Drag the question type "internal variables" into the questionnaire instead; onto the page where the custom question should appear. Place the question above the JavaScript which saves the word. | - Drag the question type "internal variables" into the questionnaire instead; onto the page where the custom question should appear. Put the question above the JavaScript used to save the value. |
| |
**Tip:** If you only require certain internal variables of the question, set this with the {{:button.settings.png?nolink|Settings}} symbol in //Show items//. Alternatively, insert the question type "internal variables" onto the page using the PHP function ''question()'' and specify the respective item IDs. | **Tip:** If you only require certain internal variables of the question, set this with the {{:button.settings.png?nolink|Settings}} symbol in //Show items//. Alternatively, insert the question type "internal variables" onto the page using the PHP function ''question()'' and specify the respective item IDs. |