Comments (3)
Did you remember to initialize h5Validate? (see the jump start section here: http://ericleads.com/h5validate/ )
Can you reproduce the problem on jsfiddle.net and post the link?
from h5validate.
Cant really post it to the site as the form contains data from within our corporate CI but I mis-stated something, the form fields (borders) do get marked with css as being invalid but the focus does not stay on the field, and yes I have this near the bottom of the form <script>
jQuery(document).ready(function(){
$('form').h5Validate();
});
</script>from h5validate.
H5Validate does not automatically validate on submit (it's optional), nor will it automatically set focus on the first invalid field. Instead, it provides realtime inline feedback as the user is completing the fields. That said, it should be easy to use jQuery to make that happen.
from h5validate.
Related Issues (20)
- Documentation page doesn't exists HOT 15
- Input type=text on IE11 HOT 2
- IE 7 Member not found error HOT 5
- type="number" should be validated as a number field HOT 6
- Validation types should be modular
- Validation types should be user-extensible.
- Textareas with "maxlength" and "required" attributes evaluate as non-valid if the focus entered. HOT 6
- focusout set to false for specific fields
- Password and Confirm Password Validation HOT 3
- Problem when using allValid HOT 6
- Confirm Email HOT 2
- No "min" validation in Safari HOT 1
- Adds ui-state-error class on focus out even on non-required fields HOT 1
- Discreprancy in version between package.json and comments in actual file HOT 1
- autosave conflict HOT 2
- Don't work with input(type="hidden", required="required") HOT 1
- Make this compatible with Browserify and npm HOT 1
- Break out a new project based on this and turn it into a web component
- Uncaught TypeError: $(...).h5Validate is not a function HOT 1
- Long form, scroll to error? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h5validate.