Hi,
I have a problem with the validation of the file uploads. I have a form which contains 3 upload fields. I want to check these files on type (doc, pdf,zip) and on size, but for some reason the validation isn't triggered. The only thing I noticed, files of an incorrect type (e.g. jpg) are not sent or stored on the server.
The form code (only included the upload files):
The file upload settings:
What am I doing wrong?
I have a problem with the validation of the file uploads. I have a form which contains 3 upload fields. I want to check these files on type (doc, pdf,zip) and on size, but for some reason the validation isn't triggered. The only thing I noticed, files of an incorrect type (e.g. jpg) are not sent or stored on the server.
The form code (only included the upload files):
<table>
<tr>
<td colspan="2"><b>Scriptiebijlagen</b>
<br>Upload de volgende bijlagen (totaal maximaal 10000 KB)
</td>
</tr>
<tr>
<TD>Samenvatting</TD>
<TD><input type="file" name="ExamSummaryAttachment" id="ExamSummaryAttachment" />
<B>*</B> </TD></TR>
</tr>
<tr>
<TD>Volledige scriptie</TD>
<TD><input type="file" name="ExamAttachment" id="ExamAttachment" />
<B>*</B> </TD></TR>
</tr>
<tr>
<TD>Bewijs van afstuderen (bewijs van cijfer waarmee scriptie beoordeeld is of cijferlijst)</TD>
<TD><input type="file" name="ExamCertificateAttachment" id="ExamCertificateAttachment" />
<B>*</B> </TD></TR>
</tr>
</table>
The file upload settings:
ExamSummaryAttachment:doc|zip|pdf{2000-1},ExamAttachment:doc|zip|pdf{7000-1},ExamCertificateAttachment:doc|zip|pdf{1000-1}
What am I doing wrong?