On email form - limit upload file size

Issues related to forms.
Post Reply
cmsintent
 
 
Posts: 98
Joined: Tue Oct 09, 2007 4:59 pm
Location: Alberta, Canada
Contact:

On email form - limit upload file size

Post by cmsintent »

Good morning ... I have created a form with 3 upload file objects

My host has updated to allow for 64MB total file size attachments BUT my email is limited to 20MB incoming emails with attachements.

Question ... is there a method to prevent someone adding, for example, an image file larger than 8MB per upload object

Something like a warning if they attempt to add >8MB file ... "Sorry, your file size is to large"

And can we limit the upload?

IN THE HELP I see: "Most hosting services limit upload size to between 2 and 4 Mb. While you can control the upload limit by adding an hidden field called 'filesize' with the size in kB, it will nevertheless comply with the limits imposed by the hosting providers."

Just don't know where or how to add a hidden field called 'filesisize' with size in KB

Thanks ...
User avatar
Pablo
 
Posts: 21508
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: On email form - limit upload file size

Post by Pablo »

You can set the maximum size for file uploads in the properties of the form.
Post Reply