Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Validation in UI? #1976

Closed
apneadiving opened this issue Dec 31, 2012 · 2 comments
Closed

Validation in UI? #1976

apneadiving opened this issue Dec 31, 2012 · 2 comments

Comments

@apneadiving
Copy link

First things first: Thanks, I really like your plugin.

Second: not a bug but I can't understand why the validation part is in the UI file. Actually, I'd like to validate but I don't need the UI layer. What's the logic behind it?

Thanks,

Ben

@blueimp
Copy link
Owner

blueimp commented Dec 31, 2012

Validation on the client-side is there to improve the user experience.
Without a UI there is no way to give any feedback about the validation errors.
Also, I want to keep the basic plugin just that, a basic and simple API to do file uploads.
Maybe it would make sense to move the validation out of the UI plugin into a separate plugin, similar to the File Processing plugin. But then, the validation code is not that large, except the maxNumberOfFiles update code, which needs to be included into several callbacks.

Please post support requests and general discussions about this project to the support forum:
https://groups.google.com/d/forum/jquery-fileupload

The issues tracker should only be used for bugs or feature requests:
https://github.com/blueimp/jQuery-File-Upload/blob/master/CONTRIBUTING.md

@blueimp blueimp closed this as completed Dec 31, 2012
@apneadiving
Copy link
Author

Thanks/Sorry, posted in the right place.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants