Hi Friends,
any website or web page which allowed to fill data, should have client side as well as server side validation for those entered data. hence in any website client side validation is done by JavaScript only. but in HTML 5 now we can do validation without JavaScript.
you can have required filed by providing required attribute to those input type as shown below.
S
compile by
Divyang Panchasara
Sr. Programmer Analyst
Hitech OutSourcing
any website or web page which allowed to fill data, should have client side as well as server side validation for those entered data. hence in any website client side validation is done by JavaScript only. but in HTML 5 now we can do validation without JavaScript.
you can have required filed by providing required attribute to those input type as shown below.
<input type="email" required/> where
required
will indicate that a value must be suppliedS
Divyang Panchasara
Sr. Programmer Analyst
Hitech OutSourcing
1 comment:
will you plz provide a demo and how to modify validation message without using Javascript
Post a Comment