-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
4.4.9, 4.5.5
-
None
-
MOODLE_404_STABLE, MOODLE_405_STABLE
When students are presented with a Cloze question they only see empty input fields for numeric and shortanswer subquestion types. It would be immensely helpful when a teacher could leave placeholder text in the input fields to specify whicht kind of answer is expected, e.g.
- whether a word or a sentence has to be written in a shortanswer
- whether the answer is case sensitive
- which accuracy is expected in a numerical answer, e.g. the number of decimal places
The placeholder should be an option to the cloze syntax so that teachers can give hints as they choose instead of letting the system provide hints against the teachers will:
Internally the HTML `placeholder="placeholder text" ` seems a good choice for this. The width of the input should fit the placeholder text, if the input is smaller than the placeholder text.
The Cloze editor would need a placeholder input
In the syntax inserted the placeholder could be prefixed with an available, but commonly understandable charachter (maybe `?`, if that's available)