Hello,

Please, check my online example:
http://www.27lamps.com/Beta/FileStyleValidate/FileStyleValidate.html

I am using FileStyle (http://www.appelsiini.net/projects/filestyle) to
style the input of type file..

Both form inputs are required.

If you submit the form you will see the Title required message but not
the File required message.

If you inspect the element with Firebug you will see that the File
required message was added to the markup.

I think I need to change the place where it is added but I wasn't able
to do this by adding:

    errorPlacement: function(error, element) {
      if (element.is("input[type=file]"))
        error.insertAfter(element.next());
      else
        error.insertAfter(element);
    },

Could someone, please, help me out?

Thanks,
Miguel

Reply via email to