Error in form not working
I'm trying to add error messages to a Perch form, I've adde successfully to all text, email, number fields.
But in the file upload field, the "fileupload" isn't working?
<perch:error for="cv" type="filetype"> <span class="error">File must be a PDF or Office document.</span> </perch:error> <perch:error for="cv" type="fileupload"> <span class="error">Couldn't upload the file - could be too big.</span> </perch:error>
"filetype" works correctly, but when I try to upload a file that's to big. The form just get's reset?