You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To add support of excellent H5F validation plugin in Stepy, just add this code:
jQuery.extend ({
validator: {
setDefaults: function () {
}
}
});
jQuery.fn.extend ({
validate: function () {
return {
element: function (field) {
return field.get (0).checkValidity ();
},
focusInvalid: function () {
}
}
}
});
PS: i think H5F is better than jquery validator plugin because it respect more the HTML5 syntax, so it will be easier to maintain source code when HTML5 will be fully supported by browsers
The text was updated successfully, but these errors were encountered:
To add support of excellent H5F validation plugin in Stepy, just add this code:
PS: i think H5F is better than jquery validator plugin because it respect more the HTML5 syntax, so it will be easier to maintain source code when HTML5 will be fully supported by browsers
The text was updated successfully, but these errors were encountered: