FQT Multiple choice placeholders: Difference between revisions
(Created page with "[https://docs.moodle.org/33/en/Formulas_question_type < Formulas question type] In addition to the answer box placeholders, the '''Formulas question type''' provides for two...") |
No edit summary |
||
Line 7: | Line 7: | ||
===Dropdown menu placeholder=== | ===Dropdown menu placeholder=== | ||
The syntax for this placeholder is: {_n:choices:MCE} where MCE must appear as is | The syntax for this placeholder is <span style="font-family:monospace;font-size:113%;">{_n:choices:MCE}</span> where | ||
<span style="font-family:monospace;font-size:113%;">_n</span> is the placeholder name (<span style="font-family:monospace;font-size:113%;">_0</span>, <span style="font-family:monospace;font-size:113%;">_1</span>, <span style="font-family:monospace;font-size:113%;">_2</span>, etc.) as for the answer box placeholders, <span style="font-family:monospace;font-size:113%;">choices</span> is a list of strings to appear as the menu choices and | |||
<span style="font-family:monospace;font-size:113%;">MCE</span> must appear as is. | |||
===Radio buttons placeholder=== | |||
The syntax for this placeholder is <span style="font-family:monospace;font-size:113%;">{_n:choices}</span> where | |||
<span style="font-family:monospace;font-size:113%;">_n</span> is the placeholder name (<span style="font-family:monospace;font-size:113%;">_0</span>, <span style="font-family:monospace;font-size:113%;">_1</span>, <span style="font-family:monospace;font-size:113%;">_2</span>, etc.) as for the answer box placeholders and <span style="font-family:monospace;font-size:113%;">choices</span> is a list of strings to appear as the menu choices. The list of buttons is only vertical. | |||
[https://docs.moodle.org/33/en/Formulas_question_type < Formulas question type] | [https://docs.moodle.org/33/en/Formulas_question_type < Formulas question type] | ||
[[Category:Formulas question type]] | [[Category:Formulas question type]] |
Revision as of 19:27, 3 December 2017
In addition to the answer box placeholders, the Formulas question type provides for two other types of placeholder for multiple choice answers:
- Dropdown menu placeholder
- Radio buttons placeholder
The syntax for this placeholder is {_n:choices:MCE} where _n is the placeholder name (_0, _1, _2, etc.) as for the answer box placeholders, choices is a list of strings to appear as the menu choices and MCE must appear as is.
Radio buttons placeholder
The syntax for this placeholder is {_n:choices} where _n is the placeholder name (_0, _1, _2, etc.) as for the answer box placeholders and choices is a list of strings to appear as the menu choices. The list of buttons is only vertical.