You need to write some javascript to do this, using ajax probably. The technique for solving this on the client is orthagonal to django.
Alex On 3/8/09, ldm999 <malcolm.le...@gmail.com> wrote: > > I'd like to have a Django form with 2 fields: List Type droplist (eg > Books, Movies) and List Name text field. Ie: > > List Type: [select...] > List Name [ ] > > When my user selects a List Type I would like the List Name to > automatically populate with the selected List Type. Similar to the way > in which the Django Admin defaults slug fields to model name fields > using prepopulate_from. > > If someone re-selects from the List Type while in the form I'd like > the List Name field to change on the fly. > > Anyone know an easy way to do this? > > TIA. > > > -- "I disapprove of what you say, but I will defend to the death your right to say it." --Voltaire "The people's good is the highest law."--Cicero --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---