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.
Currently I am managing this with some jquery code however not completely satisfied. And sadly cant use ToscaWidgets for some reason.
TIA
After searching a little more I found one solution. django-dynamic-formset based on django formsets solves the purpose. Impressive work
PS: Will try to add some screenshots later.