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.


  • Profile Image

    Upload field: Files with same file name with different files are getting same results instead of the individual uploaded file content

    Asked 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!

    Page URL:
    http://form.jotformeu.com/form/23534674594362

    problem ipad upload problem name jpg unique different
  • Profile Image

    Answered by MilanovicB on May 08, 2013 at 08:40 AM

    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,

    Milanovic B.

  • Profile Image

    Answered by lisadcs on May 08, 2013 at 09:28 AM

    Hi Milanovic,

    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.

  • Profile Image

    Answered by jefreylandicho on May 08, 2013 at 11:01 AM

    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?

  • Profile Image

    Answered by lisadcs on May 08, 2013 at 12:01 PM

    I'm using the pop-up version of the form on this page (it's the 'Upload your files' button):

    http://www.digitalcolourservices.co.uk/greetings-cards/5-x-7-trucard-greetings-cards.html

    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.

    Image duplication problem

  • Profile Image

    Answered by pinoytech on May 08, 2013 at 01:33 PM

    @lisadcs,

    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.

    Thank you!

  • Profile Image

    Answered by lisadcs on May 09, 2013 at 04:41 AM

    @pinoytech

    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.

  • Profile Image

    Answered by moonzkie on May 09, 2013 at 08:02 AM

    Hi,

    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.

    Thank you.

  • Profile Image
    JotForm Support

    Answered by liyam on May 11, 2013 at 05:49 AM

    Hello lisadcs.  We have just fixed this.  Can you have a test and see if the problem still happens?

    Thanks.

  • Profile Image

    Answered by lisadcs on May 13, 2013 at 05:03 AM

    @liyam

    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.

  • Profile Image

    Answered by ellie123 on September 25, 2014 at 12:43 PM

    I am having this same issue - can anyone tell me how they fixed it? You can see my images are all being named image.JPG when uploaded from a mobile device.

    They are named properly when uploaded from a desktop, however.

    PLEASE HELP!!!!

    - Ellie

  • Profile Image
    JotForm Support

    Answered by KadeJM on September 25, 2014 at 01:53 PM

    @ ellie123

    We understand you're having a related issue, but I've separated it into a new thread here to help prevent any confusion.