How to set the error message for maximum size of upload show immediately?

  • Profile Image
    Primasia
    Asked on July 25, 2017 at 05:39 AM

    Hi there,

    Please advise what is the max. file size (more than 3 files need to be uploaded)  that can be uploaded to the form? And if i set the size limit, once the user upload a file that is exceed the limit, will a notice pop up notify user the file is too large?

     

    Thanks.

  • Profile Image
    Aury
    Answered on July 25, 2017 at 10:16 AM

    Hello,

    Please be advised that you have to manually change the maximum upload size, here you are the guidelines:

    https://www.jotform.com/help/33-Changing-the-File-Upload-Size-Limit.

    If the uploaded file size is larger than what is set up, an error message is shown stating file is not uploaded, as shown below:

    If you have additional questions, please let us know.

    Regards.

  • Profile Image
    Primasia
    Answered on July 25, 2017 at 09:24 PM

    Hi Aury,

     

    Thanks for your reply. In my case I didn't know the file was over the set limit until I submitted the form. As it is a long form so i need to go all the way back. Please advise how to make the error message appear immediately like you've shown above?

     

    Thanks.

  • Profile Image
    Nik_C
    Answered on July 26, 2017 at 02:06 AM

    The error message will show as soon as you click anywhere outside of the upload field or you click submit.

    But, maybe a workaround would be to enable multiple uploads:

    And set the Limit of files to 1.

    That way the error message will show immediately:

    Hope it helps.

    If you have any further questions please let us know.

    Thank you!

  • Profile Image
    Primasia
    Answered on July 26, 2017 at 02:37 AM

    Thanks Nik. The workaround is very helpful!