Hi,
I have a form with a simple combo box like below:
<select class="easyui-combobox" data-options="required:true" name="type">
<option value="" selected="selected">Select Type</option>
<option value="0">Initial Assessment</option>
<option value="1">Pre-Test</option>
<option value="2">Assessment</option>
</select>
I want this combobox to be validated so that user must select one of the 3 options. I have added data-options="required:true" attribute but the validation does not work. However, if I remove the text value "Select Type" from the first <option> then the validation is happening.
But I want to keep the "Select Type" text and also the validation to work. Please advise. Thank you.