© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
7 replies
Alexandre

Handle the creation process for a wizard form

I've created a form with a Wizard but it doesn't 100% reflect the structure of my DB. For example, I have a fairly complex repeater for creating products, and I'd like to store the field values in a Json in my “products” table. Where I'm stuck is that I have no idea how to intercept the form's submit in order to process the data myself and insert it into my DB.

So I created a submit action button using this method: https://filamentphp.com/docs/3.x/forms/layout/wizard#rendering-a-submit-button-on-the-last-step

And then what do I do to process the submit?

I found this: https://filamentphp.com/docs/3.x/panels/resources/creating-records#customizing-the-creation-process in the documentation.

I've added the method to my resource file, but it doesn't seem to be called when I click on the "submit" button.

Is there a particular method to use when on a Wizard? I can't find much
Thanks in advance 😇
Wizard - Form Builder - Filament
Creating records - Panel Builder - Filament
Solution
handleRecordCreation
handleRecordCreation
is available in the CreatePage.php, not the resource class
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Halting the creation process
FilamentFFilament / ❓┊help
2y ago
Customizing the creation process
FilamentFFilament / ❓┊help
3y ago
Handle record creation
FilamentFFilament / ❓┊help
3y ago
Hide create button on resource creation form with wizard
FilamentFFilament / ❓┊help
3y ago