User-1499457942 posted
Hi
I am using BootStrap Validation . I want Text Box should not be empty & Only alphabets and Spaces are allowed
<script type="text/javascript" charset="utf-8">
$(document).ready(function () {
$('#frmModal').bootstrapValidator({
feedbackIcons: {
valid: 'glyphicon glyphicon-ok',
invalid: 'glyphicon glyphicon-remove',
validating: 'glyphicon glyphicon-refresh'
},
fields: {
txt_Code: {
validators: {
notEmpty: {
message: 'The ID is required and cannot be empty'
}
}
},
txt_Description: {
validators: {
notEmpty: {
message: 'cannot be empty'
}
}
}
}
});
});
</script>
Thanks