Wednesday, May 14, 2014

HTML 5 number validation

HTML 5 number digit validator



<input type="number" id="r" size="20" name="r"  placeholder="Input value" pattern="[0-9]+([.][0-9]+)?" step="0.01" title="Enter Numeric Digit" />

pattern  =
step       =
title       =

No comments:

Post a Comment

How to Host a Laravel Project on Hostinger’s hPanel: A Step-by-Step Guide

How to Host a Laravel Project on Hostinger’s hPanel: A Step-by-Step Guide If you're looking to host a Laravel project on Hostinger’s hPa...