Dave schrieb:

> 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.

Has anybody done this with AutoCompleteFields?
For example with a form of 3 AutoCompleteFields. The list of the
suggestions depends on each others fields value.

I think that I have to hack
AutoCompleteManager.prototype.doDelayedRequest somehow to pass also the
values of the other form fields to the controller method.

Sounds not so easy. Has anybody done this?

--
Greg


--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to