Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Essay question type: Difference between revisions

From MoodleDocs
 
(7 intermediate revisions by 3 users not shown)
Line 2: Line 2:


==Database tables==
==Database tables==
None.


==Response storage==
==Response storage==
The response from the student in $state->responses[''] is the text of the essay written by the student. This then also gets stored in the 'answer' field in the quiz_states table.
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==
None.


==State->options==
==State->options==


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.