Massimo,

> Do you have a table db.city with a field db.city.name?

Yes I do.

> If so, because db.address.city is not a reference, it should just be
> db.address.city.widget=AutocompleteWidget(request,db.city.name)

Yes, now it works. This saves me a lot of work, implementing the
pengoworks autocomplete every time I need an autocomplete field isn't
this simple. However, the drop box displaying the options doesn't
disappear after selecting a city name or typing the full name. Could
that be fixed, it covers some other form fields.


Kind regards,

Annet.

Reply via email to