fine uploader - FineUploader CSV Header Validation -


i have looked through fineuploader documentation , wanted ask community in case missed it. need allow users upload csv file check headers in csv make sure match required. way within fineuploader settings?

for instance, making sure csv user uploads has column headers of first name, last name, address, phone. if doesn't match column headers return error message. thanks!

this type of custom validation exactly why custom validation callbacks added fine uploader while back. in case, since need access file or blob, can contribute an onsubmit callback returns promise. in callback, can determine if file csv. if is, can read file client-side using filereader, parsing file determine if conforms requirements. if does, fulfill returned promise. otherwise, reject it. note can access underlying file or blob, given file id, via getfile api method.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo