Support the ongoing development of Laravel.io →
Forms Validation

I've recently started using Laravel and am now learning how to build forms. Before Laravel, I built my forms as objects with parameters for validation. The model used these parameters to validate the form on the server side while the view used them to set the values for PATTERN and REQUIRED. Is there a way to achieve this in Laravel? I would like to keep all the validation information in one place but it seems like I'm going to have to add it manually to the form template if I want to use PATTERN and REQUIRED.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

djh101 djh101 Joined 22 May 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.