I have a plugin with record and model both setting required to true for a frontend form entry:
'fieldName' => array(AttributeType::Name, 'required' => true),
However it is still validating the select option even when there is no value so:
<select id="fieldName" name="fieldName"> <option>--select one--</option>
<option value=''>--select one--</option>
Still validates as true.
How can I get around this?