[jQuery] Re: Validate Input of type File

2008-09-08 Thread shapper
Please, anyone? Thanks, Miguel On Sep 7, 10:57 pm, shapper [EMAIL PROTECTED] wrote: Hi, I tried and it is working ... well kind of. I am using FileStyle JQuery plugin to style the file input:http://www.appelsiini.net/projects/filestyle So the generated code (note the error message that

[jQuery] Re: Validate Input of type File

2008-09-08 Thread shapper
I tried to add the following: errorPlacement: function(error, element) { if (element.is(input[type=file])) error.insertAfter(element.next()); else error.insertAfter(element); }, But still does not work. Could someone tell me how to solve this problem?

[jQuery] Re: Validate Input of type File

2008-09-07 Thread Jörn Zaefferer
Yes, just check the input value. You could use the validation plugin for that: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ The demo here has two file inputs that get validated: http://jquery.bassistance.de/validate/demo/errorcontainer-demo.html Jörn On Sat, Sep 6, 2008 at

[jQuery] Re: Validate Input of type File

2008-09-07 Thread shapper
Hi, I tried and it is working ... well kind of. I am using FileStyle JQuery plugin to style the file input: http://www.appelsiini.net/projects/filestyle So the generated code (note the error message that is working): label for=PathFicheiro/label input class=file style=display: inline; width:

[jQuery] Re: Validate Input of type File

2008-09-06 Thread kara swisher
Jerry Seinfeld Takes a Stab at Scientology http://gpirate.com/search?q=tom+cruise On Sat, Sep 6, 2008 at 2:39 PM, shapper [EMAIL PROTECTED] wrote: Hello, Is it possible to validate a input of type File? I mean that I would like to test if the user checked a file ... nothing else.