form validation with jquery or phalcon?

Hi @all,

is it better to validate a form in front -or backend? With jquery or phalcon?

Kind regards

Stefan

If you do it frontend only, people can edit your source code, and make a validater ignore your form, and past in code that can SQL inject your website. You always do the backend, and if you want pretty animation then do the frontend, with jQuery validation or others :-)



21.4k

Thank you GunslerRage, it makes sense!