Validation with Jquery for Emailid, Phone number, numbers, Decimal and Required in single code
Introduction: In Today's Post I will explain how to do Validation with Jquery for Emailid, Phone number, numbers, Decimal and Required in single generic code.
Client side validation is most common process in any web site. Even though we have jQuery form validation plug in also. But issue we faced with this plug in is that We have to write separate code to validate every form. So I decided to write something generic that I can write once and not need to think about client side validation part in complete site. Luckily jQuery provide us option to do this easily.
One single code will validate complete site. In current post I will do validation only for required, emailid, phone number and decimal values. With a little code of jQuery and some css we can do it.
Visit for complete post and Code http://dotneta2z.com on http://dotneta2z.com/Archive/2017/8/how-to-do-form-Validation-with-jquery-emailid-phoneno-required-decimal-values