validation function

validation function

by Raphael Goldman -
Number of replies: 0

I added some fields to the quiz form.

I have one field which is a select list - this field is require and the first option is choose answer from list, now if I don't choose any option the first option is choosed as default. I want to moodle to through an error (require field) when the first option is selected, how can I do that?

Thanks

Average of ratings: -