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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community