On 13 fév, 09:24, Alan <alanwil...@gmail.com> wrote: > Hi There, > So using admin pages I can see the collapsible forms in action. Now I am > wondering how to have this functionality in my project. I know I need to > play with css (and I don't need javascript for that),
<understatement> I really wonder how you could achieve this without javascript (unless of course you plan on reloading the whole page, but I doubt this is the case) </understatement>. > but I was wondering if > there's something else hidden in forms.Form module that would help with that > because in the end what I would like is to keep collapsible just the form > entries that are not mandatory (required=False). You maybe want to have a look at admin templates to see how they implement collapsible forms ? remember, this is free software, and you have the right to study the source code !-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---