django forms client side validation?

浪尽此生 提交于 2019-12-22 10:27:04

问题


Is there a library/app which will help to easily implement a client side validation in django ?

I found many form layout/display libraries like

  1. django-uni-form
  2. django-crispy-forms

etc but none of them have a client side validation. Can any one point to a good framework.


回答1:


Check out django-helpers (I am the author of the library). There is a form renderer app which will generate the form in a easily fancy bootstrap template and also implements client side validations for some validators using jquery validation plugin. Its still under development. There are no much docs but check the examples. Its easy to understand.




回答2:


Check Django-parsley.

https://github.com/agiliq/Django-parsley

It uses parsleyjs.

http://parsleyjs.org/documentation.html



来源:https://stackoverflow.com/questions/16327065/django-forms-client-side-validation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!