Difference between revisions of "Essay question type"

Jump to: navigation, search
(State->options)
(Response storage)
 
(3 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 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==
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.