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

  • Primasia
    Asked on July 25, 2017 at 5: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.

  • Aurora JotForm Support
    Replied 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:

    How to set the error message for maximum size of upload show immediately? Image 1 Screenshot 20

    If you have additional questions, please let us know.

    Regards.

  • Primasia
    Replied on July 25, 2017 at 9: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.

  • Nik_C
    Replied on July 26, 2017 at 2: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:

    How to set the error message for maximum size of upload show immediately? Image 1 Screenshot 30

    And set the Limit of files to 1.

    That way the error message will show immediately:

    How to set the error message for maximum size of upload show immediately? Image 2 Screenshot 41

    Hope it helps.

    If you have any further questions please let us know.

    Thank you!

  • Primasia
    Replied on July 26, 2017 at 2:37 AM

    Thanks Nik. The workaround is very helpful!