Hi
I am getting error
Uncaught TypeError: $(...).bootstrapValidator is not a function at HTMLDocument.<anonymous> (Index:856:25)
<script src="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-validator/0.4.5/js/bootstrapvalidator.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#form1').bootstrapValidator({
message: 'This value is not valid',
fields: {
txtVName: {
message: 'The ShortName is not valid',
validators: {
notEmpty: {
message: 'The ShortName is required and can\'t be empty'
},
stringLength: {
min: 3,
max: 50,
message: 'The ShortName must be more than 5 characters long'
}
}
},
txtVCity: {
message: 'The city is not valid',
validators: {
notEmpty: {
message: 'City is required and can\'t be empty'
},
stringLength: {
min: 1,
max: 30,
message: 'The city must be more than 1 and less than 30 characters long'
}
}
}
}
});
});
</script>
Thanks