© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
2y ago
•
5 replies
Amer Almoghrabi
How do I add data to two tables in one form submission using filament?
Hello
@all
,
Im looking for the best practice to handle two models create
/update in one form submission noting that the second model is belongs to the first one
.
Thanks
Solution
if you are using resources
, you can use
handleRecordCreation
handleRecordCreation
/
handleRecordUpdate
handleRecordUpdate
https://filamentphp.com/docs/3.x/panels/resources/creating-records#customizing-the-creation-process
Creating records - Panel Builder - Filament
Jump to solution
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Was this page helpful?
Yes
No
Similar Threads
Recent Announcements
Similar Threads
Add data to two tables from one form
F
Filament / ❓┊help
3y ago
How to have a form save data into two tables?
F
Filament / ❓┊help
3y ago
How to add multiple tables in 1 form?
F
Filament / ❓┊help
3y ago