For form validation should I use javascript or a backend language. which one is better | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

For form validation should I use javascript or a backend language. which one is better

22nd Jun 2016, 2:21 PM
Sumanth Reddy
Sumanth Reddy - avatar
2 Answers
+ 4
Use backend AND front end. Frontend: to avoid many request (save server cpu time) every time that the client enter bad infos Backend: Because you must check if informations are valid. because the user can always change the front end javascript or html code and then unable frontend checking
22nd Jun 2016, 2:47 PM
Ahmed AZ
Ahmed AZ - avatar
- 1
back end validation is better for performance also good.
24th Jun 2016, 12:57 AM
goud venkat
goud venkat - avatar