Skip to content

HTML5 forms shim for older and newer browsers

Latest
Compare
Choose a tag to compare
@dperini dperini released this 02 Jan 22:35
· 7 commits to master since this release

Support validation of the following HTML5 input types:
color, range, search, number, email, url, date, time, week, datetime, datetime-local

Allow using the following HTML5 attributes on form controls:

  • autofocus attribute for , or <textarea> elements required attribute for , or <textarea> elements placeholder attribute values for or <textarea> elements
  • pattern attribute values for elements
  • data-regexp attribute values for elements (non standard)