MDL-38528 qtype_calc* dataset forms: disable short-forms for now.
[moodle.git] / question / type / calculated / datasetdefinitions_form.php
index 45efea3..6e1158c 100644 (file)
@@ -71,7 +71,10 @@ class question_dataset_dependent_definitions_form extends question_wizard_form {
 
     protected function definition() {
         global $SESSION;
+
         $mform = $this->_form;
+        $mform->setDisableShortforms();
+
         $possibledatasets = $this->qtypeobj->find_dataset_names($this->question->questiontext);
         $mandatorydatasets = array();
         if (isset($this->question->options->answers)) {