Our users will typically upload 4 to 5 documents and they may have file names that others have used before. These would be generic names like "Resume.pdf". How do we ensure that a duplicate file name can be submitted? At the moment these errors are not allowing form submission.
We will email the documents on submission and could delete them from our media. I have set "delete files after submission to "yes", but still get an error when submitting a document with a previously used name.
Help would be most appreciated!
Please login or Register to submit your answer
What exactly is the error you're getting? I just set up a simple form with a file upload field, uploaded xyz.pdf, submitted, and then opened the form again for a new entry, uploaded xyz.pdf, and submitted successfully.
Hi, I appreciate your reply and test. The error I get is "The file you are trying to upload already exists".
I need to get the scenario that you did in your test. I don't know where I am wrong or how to fix it. Please help further.
I created a new simple form with the File upload field and got the same error when trying to upload a file for the second time. I hope there is an easy and obvious fix. Thanks!
I got nuthin'. I looked on my server and the first file is saved as xyz.pdf and the next is xyz-1.pdf. I don't know why your setup would be any different. My suggestions are to: 1. If you have any other, different servers try the same test there. 2. Contact Formidable support, though they might tell you it's a PHP/server issue.
I so appreciate your reply! I will investigate that further. All the best.