+ 1
For form validation should I use javascript or a backend language. which one is better
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
- 1
back end validation is better for performance also good.