Have you seen our video tutorials? Check 'em out!

Form Validation

jcastillotx - 2 months ago

If I am using the FormBuilder that was created inside the module and using a custom url what is the best way to validate the form?

ryanthompson - 2 months ago

I just added a method called validate. Composer update.

You will want to build it first to make sure the form object is ready.

$form->build()->validate();

dd($form->hasFormErrors());

jcastillotx - 2 months ago

Thanks