Form validation with jquery | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Form validation with jquery

Hi i want to apply validation on a html form like- All Field Must Be Filled, Password and Re-Enter Password Must be same, Mobile Number's Can Only Have Numeric Values, radio button option Must be Selected and so on..... Can it be done using multiple id's so i can apply it to multiple field's Please Help me out with this.....

17th Jun 2017, 1:54 AM
avinash Fav
avinash Fav - avatar
3 Answers
+ 2
put the word "required" just before the closing of the inputs you want to require the user to fill or select.. the rest is a bit long to explain
17th Jun 2017, 2:14 AM
Welliton Malta
Welliton Malta - avatar
0
Thanks. But IE, Safari Doesn't Support "required"
17th Jun 2017, 2:20 AM
avinash Fav
avinash Fav - avatar
0
oh really? that sucks. i just read on w3schools it works on IE 10.0, but not on Safari at all 🤔
17th Jun 2017, 2:25 AM
Welliton Malta
Welliton Malta - avatar