grade = ''; $form->timeavailable = ''; $form->timedue = ''; $form->preventlate = ''; /// First we check that form variables have been initialised require_once("$CFG->dirroot/mod/webquestscorm/lib.php"); if (empty($form->name)) { $form->name = ""; } if (empty($form->course)) { $form->name = ""; } if (empty($form->intro)) { $form->intro = ""; } if (empty($form->resubmit)) { $form->resubmit = 0; } if (empty($form->maxbytes)) { $form->maxbytes = $CFG->assignment_maxbytes; } if (empty($form->emailteachers)) { $form->emailteachers = ''; } ?>