HTML Fix input invalid number validation message in Chrome

Chrome requires that you explicitly set a step value if you wish to accept non-integers. A step value of any will allow all numbers.
<input type="number" step="any">
Snippet Viewed 1711 times.

Share your HTML code snippets:

  • Get some recognition & a link back to your site.
  • Create your own code library.
  • Help your fellow developers, as they have helped you.

 

Submit | Browse

Most Recent html snippets

Most Viewed