FilamentF
Filament3y ago
Arzu

Manipulating CSV inside the form, or function in form

I need help or an idea for a functionality im trying to make.
i am trying to make a form that uploads a specific csv file, that file content needs to be manipulated before going in the database.
for example: i have a file with 7 lines, i need 3 of them to be combined to a single line and the other 4 to be as is.

what im trying to do is to upload the csv, and after the file upload input i want the csv to be processed and then based on the content show different fields to the user to appoint each "new row" as needed.
any idea how to do the csv proccess in the middle of the form?
Was this page helpful?