Re: Problem State/City Relations

2008-05-30 Thread Richard Dahl
Usually this would be done with a javascript function. You could display the form but have the city field disabled until a state was chosen and then (probably with an async call) populate the city field with a list of relevant cities. To just use server side validation for this you would have to

Problem State/City Relations

2008-05-29 Thread mimito
I have a form that has two fields (ModelChoiceField) 1. State 2. City City and State from Spain. How do to display only the cities of the state selected? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django user