sam wrote: > Nesh: > > Your method works. Thanks very much! > > Now a tougher situation: > > I want to have the same form to enter "part" information, except the > maker field I want to split into two fields: "category" and "maker". I > want to show different selections in the "maker" field based on what > was selected in the category. The objective is to reduce the number of > options user has to deal with when making a selection. How can this be > done? (Do I have to use javascripts?) Thanks.
Well, if you don't want to use two stage form (select category and reload), you definitely must use some JS to generate content of select box for maker (AJAX alike) but my knowledge of JS is very limited to be of much help here. Maybe (IIRC) some of django-Dojo integration stuff discussed on django-devel can be of some help for you. And if you find solution please post here because I will soon need to use something like this in my current project. -- Nebojša Đorđević - nesh Studio Quattro - Niš - SCG http://studioquattro.biz/ http://djnesh.blogspot.com/ | http://djnesh-django.blogspot.com/ | http://djangoutils.python-hosting.com/ Registered Linux User 282159 [http://counter.li.org] --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---