I have a fairly lengthy webform with a fair bit of client side logic and a couple of upload fields. My client is hoping that I can add some simple client side logic to validate:
- dimensions (e.g. specific dimension or does not have a 16:9 ratio - filesize too large - a wrong type of file
As I say, I have a fair bit of other logic involved in the rest of the form, and I have two or three places on the form where there are independent 'file' input fields. I also need the server script to handle the submission of the entire form including uploads at the same time. The existing php script works fine, and I don't want to change this.
Can I use uploadify to help me validate the images on submit, and to alert the user before posting? I don't need uploadify to provide graphic upload progress, although this would be a bonus.