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.

  • Profile Image

    I want only jpg or jpeg files to be uploaded so deleted all types but l

    Asked by tony22 on January 12, 2012 at 09:28 AM

    I want only jpg or jpeg files to be uploaded so deleted all types but left

    jpg, jpeg

    on the list.

    When I tried to upload a jpg file I get the message:

    jpg file extension is not allowed. You can only upload jpg, jpeg files.

    Please go back and fix this.

    How? Does the list of allowed types have to be written differently?

    Thanks, Tony



    This is a re-post of a comment on Upload Field Allowed File Types

    jpg message
  • Profile Image
    JotForm Support

    Answered by fxr on January 12, 2012 at 12:47 PM

    Hello Tony,

    What form is happening on? 

    We can take a look and see what, if anything you are doing wrong.

  • Profile Image
    JotForm Support

    Answered by abajan on January 12, 2012 at 12:56 PM

    I found the form, tested it and experienced the same issue. Upon hitting the submit button, I got the following message:


    The extensions are listed correctly. So that's not the cause. We'll issue a ticket to our Tier 2 team and see if we can get this resolved for you.

    UPDATE: I just found the problem! In the Extensions box, there's a space before the first extension (jpg). Remove it and everything will be fine:

  • Profile Image

    Answered by tony22 on January 13, 2012 at 07:25 AM

    Thanks very much. Great service.