Hello Django-ists, I'm looking for a Django component that solves this problem: In real life forms are often more complex than just displaying some fields and doing validation on them. Often fields are required or not, they appear or not, have different validation rules based on other fields values, or even based on out-of the form conditions.
The obvious solution is to code all this in JavaScript AND in Python. This has two problems: - redundancy (Python code + JavaScript code) - reinventing the wheel on every form. Some fields dependencies rules are pretty frequent and some general code could be reused. While some times custom code is still needed. Do you know such a component that generally solves field-dependencies form logic and validation? That can also generate JavaScript code based on Python-defined rules? Thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---