It appears the issue is that it won't show the error when the modal isn't open.
On your page you have:
<script>
var cotizacion_Opts = {
focusout: true,
focusin: false,
change: false,
keyup: false,
popupClass: "DeWalt",
pointedAt: "left",
fieldOffset: 60,
fieldMargin: 2,
position: "left",
direction: "right",
border: 1,
offset: 25,
closeText: "✖",
percentWidth: 100,
orientation: "top"
};
function cotizacion_Validate() {
$("#cotizacion").h5Validate(cotizacion_Opts);
}
$(document).ready(function () {
cotizacion_Validate()
ConvertServerErrors(cotizacion_Opts);
});
</script>
<script>
$(document).ready(function(){
// Show the Modal on load
$("#myModal").modal("show");
});
</script>
Try changing the order so that the modal is open before the validation initiates like:
<script>
$(document).ready(function(){
// Show the Modal on load
$("#myModal").modal("show");
});
</script>
<script>
var cotizacion_Opts = {
focusout: true,
focusin: false,
change: false,
keyup: false,
popupClass: "DeWalt",
pointedAt: "left",
fieldOffset: 60,
fieldMargin: 2,
position: "left",
direction: "right",
border: 1,
offset: 25,
closeText: "✖",
percentWidth: 100,
orientation: "top"
};
function cotizacion_Validate() {
$("#cotizacion").h5Validate(cotizacion_Opts);
}
$(document).ready(function () {
cotizacion_Validate()
ConvertServerErrors(cotizacion_Opts);
});
</script>