© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
7 replies
.najibahmed

How to have a form save data into two tables?

I have a postResource with a create form which save data in two tables. first table for post information and another for images table. posts table does not have any id for images table. Instead media table has an id for post_id. When click create/save button then each data goes to their own table. I don't want to use media-library. #form-builder
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Add data to two tables from one form
FilamentFFilament / ❓┊help
3y ago
What is the best way to save data into multiple tables from one form?
FilamentFFilament / ❓┊help
3y ago
Form data save issue.
FilamentFFilament / ❓┊help
2y ago
How to inject form data into a custom view
FilamentFFilament / ❓┊help
16mo ago