What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Upload field: Files with same file name with different files are getting same results instead of the individual uploaded file contentAsked by lisadcs on May 08, 2013 at 06:32 AM
I have a form where users can upload images for printing but I have come across an issue with people using iPads or iPhones etc as each file they upload has the generic name image.jpg. This means that when they upload multiple images the files appear to be overwritten and I'm just getting eight copies of the same image instead of eight individual images.
Is there a way to append a unique field reference to each image upload to ensure each image is read as a unique file? Is there another solution that I haven't thought of?
I have several versions of this form for different products so a simple solution would be very much appreciated!
Respected, You have to check the Java settings.
Now, on iPad, you need to check for Java updates; and firmware updates- in general.
Also, check your settings on iPad for multimedia. Multiple upload is usually done using Java-applet; so You have to have enabled the Sun Java runtime on your device. Check for "enable java" or "enable java applets" on your phone.
Also, you can try to implement your images by following code:
[img][url]http:// .... url of the picture [/url][/img]
URL of pictures could be done by uploading easy them to ImageShack web-site.
With at most respect,
Thanks for your reply but I don't think I have made the problem clear as I don't think your answer will help unfortunately.
I'm not personally using an iPad or other apple device to upload images but some of my customers do. As they cannot rename their image files, they all upload as a generic titled 'image.jpg' so the last file uploaded overwrites all the others as they have the same filename.
A previous file hosting solution we have used added sequential numbers to every file upload to ensure each submission filename was unique and therefore avoided any overwriting.
Please try replacing your current upload field with FilePicker.IO and see if it helps.
However, when I tested your form using IPadEMU, I was not able to replicate the same issue.
Also, may I know if you are uisng the form directly or have it embedded on a web page?
I'm using the pop-up version of the form on this page (it's the 'Upload your files' button):
I have different versions of this form for each of our printed products so the method you're suggesting will involve changing hundreds of fields, I was hoping there was a setting somewhere I needed to update.
Below is an image taken from the pdf from the submissions for this form that shows how the file is being duplicated due to having the same file name, even though the customer uploaded different images.
This is weird. I have made some test with your form using iPhone Simulator but I wasn't able to replicate the issue. You can check your form submission page for my test entry.
I found out also that this one person(user/client) of yours had this issue only upon checking your form submission. Can you please try to ask this guy to clear his iphone cache/cookies and ask him to submit new entry after.
Thanks for testing the form. I can see from your submissions that each of your images has a unique file name and are therefore uploading correctly, the problem that my customer is experiencing is caused by each of the images having a generic file name - 'image.jpg' which his iPad automatically generates and he has no way of changing.
My customer has now uploaded his images, one at a time, submitting the form repeatedly but this is far from ideal and doesn't resolve the issue for the future.
I have made test submissions on your form and was able to replicate on the said problem. It appears that the form is accepting the said file as the same or a duplicate file. However, I will forward this to our developers for them to look into this concern.
As of now, the best alternative would be as what your customer did, changing the file names.
Hello lisadcs. We have just fixed this. Can you have a test and see if the problem still happens?
I've just tested uploading different files that have the same file name and it looks like it's now recognising them as unique files so that's brilliant work, thank you to everyone who's worked to resolve this.