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

    set up condition for file upload size

    Asked by Forthenvironmentlink on June 22, 2012 at 05:10 AM

    Hello,

    Is it possible to set up a condition when the file to upload by the applicant is greater than what I have set it up?

    For instance, in my form (21302328285346) all file to be uploaded can't be greater than 1024 Mb. but an applicant can actually upload a bigger size   only to find out at the end that his file was to big, Is it possible to have a warning message just after the file has been uploaded. I have put messages in the form...but some people do not read them.

    Thanks

     

    Amparo

  • Profile Image
    JotForm Support

    Answered by NeilVicente on June 22, 2012 at 05:23 AM

    First off, for your information, the max file size allowed for the upload field in your form is 1024 KB (1 Megabyte) and not 1024 MB (1 Gigabyte). You can change that property when you click the Max File Size button found in the toolbar:

     

    Is it possible to set up a condition when the file to upload by the applicant is greater than what I have set it up?

    There is no need to set up a condition for this because the form's script will not allow uploading a file that is bigger than the maximum allowed size. The form will display an error message such as this:

     

    If your form does not display such a message, the browser you're using probably does not have JavaScript enabled.