© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
6 replies
lawre17

How to access file(s) before submitting a form

In a table header action I have form that I want it to interact with an AI service.
The form entails an file upload and an action right below it.

When the action us trigger the file uploaded will be sent to the service and then use the response to fill other read only section of the form and now the form can be submitted.

I have tried using the $get() to access the file in the temporary storage but I am getting an associative array with a random key every time I uploaded an image.

Kindly assist, thank you.
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

Submitting a page's form programmatically
FilamentFFilament / ❓┊help
2y ago
How to modify fields when submitting form
FilamentFFilament / ❓┊help
2y ago
Require cropping to a certain size before submitting
FilamentFFilament / ❓┊help
3y ago
Autofocus after submitting form
FilamentFFilament / ❓┊help
2y ago