J
J
JackShcherbakov2018-03-18 15:03:04
Validation
JackShcherbakov, 2018-03-18 15:03:04

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

2 answer(s)
D
DevMan, 2018-03-18
@JackShcherbakov

Validation on the client is done only for responsiveness and improving the user experience.
This does not cancel or replace validation on the server.

L
lisunandrey, 2019-05-02
@lisunandrey

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 question

Ask a Question

731 491 924 answers to any question