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 is working):
>
> <label for="Path">Ficheiro</label>
> <input class="file" style="display: inline; width: 320px;"/>
>     <div style="background: transparent url(../../Assets/Image/PT/
> FileUpload_Button.jpg) no-repeat scroll right center; overflow:
> hidden; width: 20px; height: 15px; -moz-background-clip: -moz-initial;
> -moz-background-origin: -moz-initial; -moz-background-inline-policy: -
> moz-initial; display: inline; position: absolute;">
> <input id="Path" class="" type="file" value="" name="Path"
> style="position: relative; height: 15px; width: 320px; display:
> inline; cursor: pointer; opacity: 0; margin-left: -142px;"/>
>     <label class="Error" for="Path" generated="true">Select a
> document</label>
> </div>
>
> The error message is in the HTML markup as you can see but it is not
> visible.
>
> Any idea of how to solve this?
>
> Thanks,
> Miguel
>
> On Sep 7, 10:48 am, "Jörn Zaefferer" <[EMAIL PROTECTED]>
> wrote:
>
> > 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 11: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.
>
> > > Thanks,
> > > Miguel

Reply via email to