daterangepicker bootstrapValidator not working -


i'm trying validate date field not working.

at first time validator work fine if field empty, when select date daterangepicker, error message don't desappear , form keeps disabled submit.

tanks support.

validator:

$('#frm1').bootstrapvalidator({  message: 'este valor no es valido',  feedbackicons: {      valid: 'glyphicon glyphicon-ok',      invalid: 'glyphicon glyphicon-remove',      validating: 'glyphicon glyphicon-refresh'  },  fields: {       fechaexpedidentificacion: {            validators: {                 notempty: {                     message: 'the date required'                 },                 date: {                     format: 'dd/mm/yyyy',                     message: 'the date not valid'                 }             }         }   } }); 

daterangepicker:

$(document).ready(function(e) {             var datefechaexp = new date();             datefechaexp.setdate(datefechaexp.getdate()-10000);             $('#fechaexpedidentificacion').daterangepicker({                 singledatepicker: true,                 calender_style: "picker_2",                 format: 'dd/mm/yyyy',                 startdate: datefechaexp,                 showdropdowns: true,             }); 


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -