Christoph Zwerschke wrote:
> When using the AutoCompleteField, I often want to access not only the 
> current value of that field alone, but also the current values of the 
> other fields in the same form, in order to present better suggestions to 
> the user. For instance, when I autocomplete a "state" field, I would 
> also like to know the value of the "country" field, so that I can only 
> return the states existing in the respective country.
> 
> Has somebody an easy solution for this?

If the country gets changed, display another SelectField/AutoCompleteField on
the fly (or have a set in the document but hidden).
  Or, if the country gets changed alter the other's data source/controller.

How this can be done depends on the JS library you are going to use.

-- W-Mark Kubacki

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to