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
en:create:functions:prepare_input [26.09.2020 14:23] sophia.schaueren:create:functions:prepare_input [24.10.2020 22:11] (current) – Function obsolete admin
Line 1: Line 1:
-====== prepare_input() ====== 
- 
-''void **prepare_input**(string //ID//, [string //options//])'' 
- 
-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]] 
- 
- 
-  * //ID//\\ The ID of the question (for the drop-down selection) or the items, which should be shown elsewhere. 
-  * //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]].  
  
en/create/functions/prepare_input.1601122991.txt.gz · Last modified: 26.09.2020 14:23 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