Form native JavaScript checkValidity
function is more then enough to trigger the HTML5
validation
$(document).ready(function() {
$('#urlSubmit').click(function() {
if($('#urlForm')[0].checkValidity()) {
alert("form submitting");
}
});
});