Hi.
I have a form that allows a user to upload attachments.
I need to validate the attachments so that they are:
- Only 5MB or less
- Are only of the format .jpg, .pdf or .png.
I'm not sure how to put these constraints into effect. Can anybody please guide me. Thank you.