Create Unchecked Radio Button

Create Unchecked Radio Button

autor N Prasad -
Počet odpovedí: 0

I use this code

& MoodleQuickForm::createElement('radio', 'Sun', null, get_string('sunday','calendar'),0,''); to make a radio button label for Sunday, but it ALWAYS seems to be checked. How do I set it such that is unchecked when created.

Many many thanks in advance if you could help.

Priemer hodnotení :Useful (1)