I have a drop down list.
I have 4 options - the first option is choose from list,
the 3 others are values (1,2,3)
I want to force the user to choose one of the 3 values,
How can I do that?
can I set it directly in:
$mform->addRule('shortname', null, 'required', null, 'client');?
Yes.
what I need to change here ?