This plugin adds support for the required attribute in inputs in forms.
Author: | Neil Gee (profile at wordpress.org) |
WordPress version required: | 3.8 |
WordPress version tested: | 4.1.0 |
Plugin version: | 1.0.0 |
Added to WordPress repository: | 11-09-2014 |
Last updated: | 05-10-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://coolestguidesontheplanet.com/ |
Total downloads: | 104 |
Click to start download |
This plugin adds support for the required attribute in browsers that don't support this HTML5 feature including < IE10, iOS, Android.
The plugin just activates the h5validate jQuery script by Eric Elliott https://github.com/ericelliott/h5Validate
There is no further configuration required.
For HTML input elements that use the 'required' attribute, this attribute will trigger a focus on the input element if not filled in by the user.
Pattern matching and error mark up can be found here - http://ericleads.com/h5validate/
For email input pattern validation add a "h5-email" class to the input element.
The script is minified and set to load in the footer.