what is best js or php on form validation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is best js or php on form validation

15th Sep 2018, 3:13 PM
olbab omer
olbab omer - avatar
2 Answers
+ 4
I do Validate Forms from Server-side since users can't disable server-sided codes and can't see it. But Client-side users can disable scripts or javascript which might be a major setback to site security. But Ruben Perdigao Is Right Validate from Frontend and Backend
15th Sep 2018, 3:27 PM
Femi
Femi - avatar
+ 1
both, you should always validate a form both the on front end and back end.
15th Sep 2018, 3:23 PM
Ruben Perdigao
Ruben Perdigao - avatar