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.
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.