Validating the file field plenty fish dating site canada
This way the system will block users that try to upload files that are much larger than the limit, but still providing a nice validation error to those ones that would be exceeding the limit of few megabytes.Situation: 1) Contact form with a file field that is required and only accepts PDF 2) Uploading a file with another extension Result 2 error messages : - The specified file flag_could not be uploaded. Where is the error message "This value should not be null" is comming from? I have tried creating a new field in Contact Form (/admin/structure/contact).
For example, if you only allow image file to be uploaded, you probably want to restrict the file extensions to or