Form Validation: Is full stack validation best practice?

Posted 10 months ago by ochirach

Hi,

Is it best practice to have both front and back end form validation for applications where users are regularly posting information? Or is Laravel (back-end) validation good enough on its own?

In my case users will have to enter dates using the format dd/mm/yyyy (I can do this with a javascript but should I) only, all inputs should be stripped of all extra whitespace and I will use predictive input checks for all drop-down selections to name a few validation tests.

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.