I have a asp dropdownlist <asp:DropDownList ID="ddIndProvince" data-style="btn-default" CssClass="form-control input" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddIndProvince_SelectedIndexChanged" TabIndex="8"></asp:DropDownList> On Page load event I inserted "--Select--" item at index 0.
Now I am facing problem while I am validating it with bootstrap validator. Its returning valid for "--Select--" item. like below image.

How I can validate this.Below us my current script
<script type="text/javascript">
$(document).ready(function () {
$('#form1').bootstrapValidator({
container: '#messages',
feedbackIcons: {
valid: 'glyphicon glyphicon-ok',
invalid: 'glyphicon glyphicon-remove',
validating: 'glyphicon glyphicon-refresh'
},
fields: {
<%=ddIndProvince.UniqueID%>:{
validators:{
notEmpty:{
messages:'please select province'
}
}
}
}
});
});
</script>