alechill / livevalidation

Open source javascript library for slick, powerful, and easy client-side validation.
http://livevalidation.com
Other
151 stars 57 forks source link

How to apply to input type=file? #21

Open oshihirii opened 10 years ago

oshihirii commented 10 years ago

What I've Tried

var myVariable = new LiveValidation('my_id', { validMessage: 'valid input', wait: 500});
myVariable.add(Validate.Presence, {failureMessage: "required field"});

I try clicking on the select file button and then cancelling and moving to the next field and no validation error messages are shown.