Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
en:create:functions:question [25.11.2015 18:58] – [question()] new option 'shading' admin | en:create:functions:question [12.07.2016 20:15] – admin |
---|
* '''random'''\\ Items in a question are output in a random order. This parameter overwrites the setting for item sorting in the question dynamically. | * '''random'''\\ Items in a question are output in a random order. This parameter overwrites the setting for item sorting in the question dynamically. |
* '''random=<n>'''\\ <n> items are selected at random and output in a random order. | * '''random=<n>'''\\ <n> items are selected at random and output in a random order. |
* '''combine=<ID of a different question>''' \\ Creates a combined question. ([[combine|Combined Questions]]). | * '''combine=<ID of a different question>''' \\ Creates a combined question. ([[:en:create:combine]]). |
* '''gap=<specification>'''\\ Spacing between the input fields in a combined question in pixels (e.g. '''gap=20'''). | * '''gap=<specification>'''\\ Spacing between the input fields in a combined question in pixels (e.g. '''gap=20'''). |
* '''gap=line'''\\ Display a line between the combined questions. The space or the line is displayed equally between all combined questions. | * '''gap=line'''\\ Display a line between the combined questions. The space or the line is displayed equally between all combined questions. |
* //options//\\ Some options are intended to dynamically overwrite the question's settings: | * //options//\\ Some options are intended to dynamically overwrite the question's settings: |
* '''filter=<specification>'''\\ Prefix for the database key in a question type "extended selection" (e.g. '''filter=country''' to show all database entries whose key begins with "country"). | * '''filter=<specification>'''\\ Prefix for the database key in a question type "Extended Selection" or "Suggesting Text Input" (e.g. '''filter=country''' to show all database entries whose key begins with "country"). To allow the correct encoding of a response in the suggesting text input, at least a part of the prefix mus be set in the question itself as //prefix//. The parameter in ''question()'' can then narrow down these options. |
* '''direction=<up|down>'''\\ Arrange selection options in a scale or in a horizontal selection in ascending (''up'') or descending (''down'') order. | * '''direction=<up|down>'''\\ Arrange selection options in a scale or in a horizontal selection in ascending (''up'') or descending (''down'') order. |
* '''composition=<default|extended|dense>'''\\ Customize setting for //Composition of a Question// . | * '''composition=<default|extended|dense>'''\\ Customize setting for //Composition of a Question// . |