Answer the question
In order to leave comments, you need to log in
Does it make sense to filter the form on the client?
Hello colleagues!
Does it make sense to filter the form on the client?
After all, it's elementary to bypass validation on the client. Well, what's the point of her? Wouldn't it be safer and more correct to do form validation and filtering in PHP (that is, on the client side)?
Thanks in advance to everyone who answers.
Answer the question
In order to leave comments, you need to log in
Validation on the client is done only for responsiveness and improving the user experience.
This does not cancel or replace validation on the server.
I present registration in some social network without preliminary validation of the login for uniqueness...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question