Hi,
I need to rename the file uploaded into the form, the new file name must be:
CV-firstname-lastname.
(CV is just a text not a field)
That's possible?
Thanks,
Best regards
You can rename csv files to anything you want. The file name isn't important. Formidable imports entries in the csv fine, not the file itself.
Hi, i need to change the original file name uploaded not in the CSV.
Original name: my_resume-file.pdf
Uploaded:
wp-content/uploads/formidable/7/CV-john-smith.pdf
Thanks,
Unless you want to write custom code, you rename files with the server’s file manager or through FTP.
There is an example PHP snippet on the FF KB for moving and renaming files using the frm_after_create_entry hook.
https://formidableforms.com/knowledgebase/frm_after_create_entry/#kb-move-and-rename-files
If you don't want to move the files to a custom directory you'll need to edit it quite a lot but you can use this method to rename the files in the way that you want.
Thanks !!! I´ll test it
Please login or Register to submit your answer