Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
en:create:functions:prepare_input [20.12.2014 18:43] – alexander.ritter | en:create:functions:prepare_input [26.09.2020 14:24] – sophia.schauer |
---|
''void **prepare_input**(string //ID//, [string //options//])'' | ''void **prepare_input**(string //ID//, [string //options//])'' |
| |
With ''prepare_input()'', you can put a text input field, a drop-down selection or a normal selection field or a multiple-choice selection field in another question or in a text element. | By using ''prepare_input()'', you can put a text input field, a drop-down selection, a normal selection field, or a multiple-choice selection field in another question or in a text element. |
| |
| **Note:** Meanwhile you can place input fields freely in the questionnaire using placeholders and without ''prepare_input()'': [[:en:create:inputs-single]] |
| |
| |
* //options//\\ If the ID of a drop-down selection was given as the first parameter, a list of options (item numbers) may be given as the second parameter, in case the order is altered or not all options should be offered for selection. | * //options//\\ If the ID of a drop-down selection was given as the first parameter, a list of options (item numbers) may be given as the second parameter, in case the order is altered or not all options should be offered for selection. |
| |
The use of this function is described in detail in the chapter [[:en:create:inputs-single|Placing Input Fields Freely]] beschrieben. | |
| |