By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
460,035 Members | 944 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 460,035 IT Pros & Developers. It's quick & easy.

File field validation using LiveValidation script

P: 13
I want to validate my file upload field using liveLalidation 1.3 or (any other live validation script)...

Such as, I want to check file type (such as .jpg, .gif, .png etc). Also want to check file size for bounding it in a limit (such as maximum 150 KB).

And also want to set this field as mandatory.

Is there any option to do this with liveValidation 1.3?
Then please specify how I can do this?

Thanks in advance...
Oct 16 '11 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
Are you referring to

What do you have so far? Some of the things you require are available on the examples page. The file size test will probably require an actual upload and test on the server-side, so it'd make more sense to leave that for the server-side.
Oct 24 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.