473,320 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

File field validation using LiveValidation script

Hi,
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...
RAZU
Oct 16 '11 #1
1 2689
acoder
16,027 Expert Mod 8TB
Are you referring to http://livevalidation.com/?

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

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

Similar topics

4
by: Colin Graham | last post by:
Hi there, Im very new to javascript and this is my first bit of javascript coding. I have to write a validation check for two fields that they don't contain all the same characters e.g., ...
2
by: Doslil | last post by:
I am trying to validate the fields in my database.I have already validated the fields to check for not null.Here is what I have written for Numeric and text field. Private Function EENUM() On...
2
by: Anne | last post by:
hie all, i have dragged a File Field control from the HTML tab to my page and i am able to browse and retrieve the file i want. the only problem i have is, i do not want my users to be able to...
0
by: davesil2 | last post by:
I am using the File Field HTML Control in my asp.net page. I believe what I need to do is use a custom validator against that control to check if the file size is too large. I don't know where to...
8
by: VinayKumarParakoti | last post by:
Hi all, I am new to this site and this is my first post. But this issue is of high priority. I am trying to print pdf file in browser using perl script. Onclick on hyperlink a child window...
2
by: sapan | last post by:
Hi guys, I have a situation where in I need to access MSAccess database ,use that data and put it into a flat file. All this using VB script. and the main hurdle is that I am not wellversed with VB...
2
by: Navpreet Singh | last post by:
Hello Sir The code given below is the vxml code in which i can record my voice but when i want to try to save the recorded file using php script the error occours. The php code is also given below....
2
by: underground | last post by:
I have a query I use to insert data and text into my DB. The script provides the validation for the file size not type is assigned, how do I add the file type validation to this script. Could someone...
1
by: jay manu | last post by:
I have to import an excel file to Arcmap10 using arcpy script. file name,file path etc will be selected from fileDialog(). Can anyone help me, how i can import the selected excel file into...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.