Title: Upload file names
Last modified: September 11, 2017

---

# Upload file names

 *  Resolved [michael1408](https://wordpress.org/support/users/michael1408/)
 * (@michael1408)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/upload-file-names/)
 * I have a form that is being submitted to its own database table using MySQL mapping
   
   The form has a multiple file upload field Right now I created a hidden field,
   grabbed the file names and using jQuery saved it to the hidden field that was
   submitted to the database. However, I just realized that the different users 
   could submit a file with the same name. Is there a way to change the name of 
   the file being uploaded and capture the new name before it is uploaded?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Form Maker Support](https://wordpress.org/support/users/formmakersupport/)
 * (@formmakersupport)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/upload-file-names/#post-9485954)
 * Hello, [@michael1408](https://wordpress.org/support/users/michael1408/)!
 * Thanks for posting your request!
 * Unfortunately, Form Maker does not have the functionality to rename files upon
   upload. However, this would be a great addition to the product. So could you 
   please add your suggestion to our [Submit Your Idea](https://web-dorado.com/support/submit-your-idea.html)
   page?
 * Our development team will consider working on this for further updates.
    Thanks
   in advance! Have a wonderful day!
 *  Thread Starter [michael1408](https://wordpress.org/support/users/michael1408/)
 * (@michael1408)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/upload-file-names/#post-9486466)
 * I did, but if you could advise me on how I can implement this myself right now,
   that would be greatly appreciated
 *  Plugin Contributor [Form Maker Support](https://wordpress.org/support/users/formmakersupport/)
 * (@formmakersupport)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/upload-file-names/#post-9496602)
 * Hi, [@michael1408](https://wordpress.org/support/users/michael1408/)!
 * Please note, that File upload field can be used in MySQL Mapping with its final
   title. You did not need to use a hidden field to capture filenames.
 * This way, if two users submit a file with filename.txt title, the first one will
   be saved as **filename.txt** and the second – **filename (1).txt.**
 * Could you please give this a try? Hopefully, this will help you with detecting
   unique filenames.
 * Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Upload file names’ is closed to new replies.

 * ![](https://ps.w.org/form-maker/assets/icon-256x256.png?rev=2068681)
 * [Form Maker by 10Web - Mobile-Friendly Drag & Drop Contact Form Builder](https://wordpress.org/plugins/form-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/form-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/form-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/form-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/form-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/form-maker/reviews/)

## Tags

 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * 3 replies
 * 2 participants
 * Last reply from: [Form Maker Support](https://wordpress.org/support/users/formmakersupport/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/upload-file-names/#post-9496602)
 * Status: resolved