Translations of this page:
 

This is an old revision of the document!


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(): Placing input fields freely

  • 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.
en/create/functions/prepare_input.1601123057.txt.gz · Last modified: 26.09.2020 14:24 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