Jorge Vargas wrote: >On 11/6/06, Dave <[EMAIL PROTECTED]> wrote: > > >>Hello, >> >>I'm currently looking to design an application in Turbogears but am >>getting hung up on one specific challenge - that's updating form fields >>conditionally based upon the selection of another form field. For >>instance: >> >>In a form, you have two select fields, one for state and one for city. >>I want the city field to be populated with city names that are ONLY in >>the state selected, which would (presumably) be pulled from a database. >> I'd like to do it asynchronously versus posting the entire form and >>dealing with the whole page reloading. >> >> >> >Ian and/or Jose could you guys clean up your example and post it as a >tutorial? In fact having both approaches will be great to show up how >flexible TG is :) > > > I created a clean example how it works, it works with sqlobject and sqlalchemy. you can download the demo project from: http://www.allevatori.com/download/city.tgz
jo >>Thanks, >> >>DS >> >> >> >> > >> > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

