Select statement validating as true when no value selected? I have a plugin with record and model both setting required to true for a frontend form entry:

'fieldName' =&gt;  array(AttributeType::Name, 'required' =&gt; true),


However it is still validating the select option even when there is no value so:

&lt;select id="fieldName" name="fieldName"&gt;
    &lt;option&gt;--select one--&lt;/option&gt;


or

&lt;option value=''&gt;--select one--&lt;/option&gt;


Still validates as true.

How can I get around this?
You could try setting a minimum length:

'fieldName' =&gt;  array(AttributeType::Name, 'minLength' =&gt; 1, 'required' =&gt; true),