Hello
Can anyone point me in the right direction for gform validation on rejecting files based on size over 2MB for example and file types? Like DOC,EXE,XLS...
Thanks
Hello
Can anyone point me in the right direction for gform validation on rejecting files based on size over 2MB for example and file types? Like DOC,EXE,XLS...
Thanks
any help for this? Im still looking for this in the documentation
In our file upload field, you can set which file extensions you'll allow, but there currently isn't any built-in way to check file sizes. File size limits are determined by PHP.ini server settings and files aren't uploaded until the form is submitted without errors.
Ok I added this to my PHP INI file
.....................................
memory_limit = 32M
upload_max_filesize = 3M
post_max_size = 3M
....................................
But the page just hangs on submit now. Any ideas? How should this error message appear?
http://www.the-soc.org.uk/get-involved/upload-your-images/