Essay question type: Difference between revisions
From MoodleDocs
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== |
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.