Crisis2k
FFilament
β’Created by Crisis2k on 12/30/2024 in #ββhelp
Form builder - general validation error?
Hello π
New to Filament here, working my first real project! π
I'm getting stuck on what seems to be an easy issue, so not sure if I'm getting things wrong, or simply not finding the required info (been on this for 3hrs already π’ ).
What I'm trying to do is generate a global form error, is that possible? In this instance, I'm checking if any of my fields are filled, if not I want to display a validation error (globally).
Looked through
$form->...
couldn't find anything. Then found mutateFormDataBeforeCreate()
on CreateClientContact
but something doesn't feel right, really feel like I'm missing something obvious here?
Hope someone can help me keep a few hairs! π
Thanks, Chris21 replies