danielm / uploader

A lightweight and very configurable jQuery plugin for file uploading using ajax(a sync); includes support for queues, progress tracking and drag and drop.
https://danielmg.org/demo/java-script/uploader
MIT License
1.17k stars 384 forks source link

Integration with jQuery validation #72

Open ugenegrg opened 6 years ago

ugenegrg commented 6 years ago

https://jqueryvalidation.org - My concern is have you tried with the jQuery validation library. First it conflicts with the required option. Let's say i click the submit button and jQuery validates the file input and says "Please upload file". Now if i upload wrong file - your plugin does extension check But if i upload the right image file - then first jQuery validation still says "Please upload file"

Second how to check and validate on some button click (time to time) For e.g. Can i check the validation calling some function of yours when a button is clicked.

Can you point me to the right direction?