I added a text box to the quiz settings form like this:
Now I want to save the information entered in the box as the grademin in mdl_grade_items table. I trying to do it using this code:
All this code I have it in my class rule.php. Could someone tell me why is this wrong and a way I could fix it?