Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

Add uni-form validation #67

Closed
pydanny opened this issue Apr 14, 2011 · 3 comments
Closed

Add uni-form validation #67

pydanny opened this issue Apr 14, 2011 · 3 comments
Milestone

Comments

@pydanny
Copy link
Owner

pydanny commented Apr 14, 2011

uni-form now does client validation. This should be added as an option.

@venkasub
Copy link

This would be a neat feature. I am already doing this using jquery.validate in my app. would be nice to bundle this together.

@pydanny
Copy link
Owner Author

pydanny commented Sep 28, 2011

I'm thinking that floppyforms does this for us via HTML5. Not sure this should be bundled in.

@maraujop
Copy link
Collaborator

Well, HTML5 has some validation that works on compatible browsers. I think some people expect a JS bundle within django-uni-form, one of those popular javascript validation libraries. But As we talked once, I'm not sure this is right:

  • We would be coupling django-uni-form more.
  • Everyone can do this at the moment using their favorite stuff, there is freedom to choose.
  • Now they even have django-uni-form-contrib for submitting templates that work with js bundles.
  • In my understanding nothing should be have to be changed in django-uni-form to support this, as this is client side validation. Server side validation is done by Django itself.
  • We don't really work form fields, we work forms themselves, so as you say this probably has more sense in an application that works one level below us.

So +1 for closing the issue as wont fix.

@pydanny pydanny closed this as completed Sep 28, 2011
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

3 participants