Complex form widgets in Django

Posted by Shekhar on Stack Overflow See other posts from Stack Overflow or by Shekhar
Published on 2010-04-22T09:51:41Z Indexed on 2010/04/22 9:53 UTC
Read the original article Hit count: 373

Filed under:
|
|
|

I am looking for good helper libraries to generate a rather complex form in Django.

  • Dynamic field dependencies: Say if option a is selected certain fields are shown/hidden and subset of these are mandatory depending on option selection.

  • Add more: On clicking "Add more" button that clones some widget.

This is something which ToscaWidgets is capable of handle. http://toscawidgets.org/documentation/tw.dynforms/tutorial.html#growing

Currently I am managing this with some jquery code however not completely satisfied.

TIA

© Stack Overflow or respective owner

Related posts about python

Related posts about django