Sunday, August 26, 2012

Re: expand fieldset by choice


On Sun, Aug 26, 2012 at 5:03 PM, Axel Rau <Axel.Rau@chaos1.de> wrote:
In my admin site, I have a fieldset which depends on a choice.
I would like to control expansion of the related fieldset by the choice instead of the standard widgets.
How can I do this?

I don't understand clearly what you want, but, correct me if I'm wrong, you have some field and by doing something on it, maybe selecting it ? you want to something else on some other fields, maybe show/hide them ?

If this is what you are looking for, you could use javascript to do the magic, you can tell the admin form to use a specific js script and u can even generate that js dynamically.

If this is not helpful please be more specific.



Axel
---
PGP-Key:29E99DD6  ☀ +49 151 2300 9283  ☀ computing @ chaos claudius

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.




--
Nicolas Emiliani

Lo unico instantaneo en la vida es el cafe, y es bien feo.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment