Note: You are currently viewing documentation for Moodle 3.8. Up-to-date documentation for the latest stable version of Moodle may be available here: Numerical question type.

Development:Numerical question type: Difference between revisions

From MoodleDocs
No edit summary
 
Line 4: Line 4:


==Response storage==
==Response storage==
The numerical questiontype, which inherits the function print_question_formulation_and_controls() from the shortanswer questiontype, has only one response field, so its responses are handled by the default questiontype. The response is stored without any modifications in the answer field of the table quiz_states.


==Question->options==
==Question->options==

Revision as of 08:31, 6 February 2006

Template:Questiontype developer docs

Database tables

Response storage

The numerical questiontype, which inherits the function print_question_formulation_and_controls() from the shortanswer questiontype, has only one response field, so its responses are handled by the default questiontype. The response is stored without any modifications in the answer field of the table quiz_states.

Question->options

State->options