Essay question type: Difference between revisions
From MoodleDocs
Helen Foster (talk | contribs) m (Essay question developer docs moved to Development:Essay question type) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
==Response storage== | ==Response storage== | ||
The response from the student in <nowiki>$state->responses['']</nowiki> is the text of the essay written by the student. This | The response from the student in <nowiki>$state->responses['']</nowiki> is the text of the essay written by the student. This was perhaps once stored in the 'answer' field in the quiz_states table. | ||
In Moodle 3.4, look for responses in table 'question_attempt_step_data', in the 'value' field. | |||
==Question->options== | ==Question->options== | ||
Line 15: | Line 17: | ||
None. | None. | ||
[[Category:Quiz]] | [[Category:Quiz]] |
Latest revision as of 19:58, 28 March 2019
Database tables
None.
Response storage
The response from the student in $state->responses[''] is the text of the essay written by the student. This was perhaps once stored in the 'answer' field in the quiz_states table.
In Moodle 3.4, look for responses in table 'question_attempt_step_data', in the 'value' field.
Question->options
None.
State->options
None.