Sorry, I don't understand. In get_items, request.vars.field and request.vars.table contain the field and table names of the requesting autocompleter. Is that what you mean?
On May 22, 2:27 am, annet <annet.verm...@gmail.com> wrote: > I gave this a try, but what about standardization tables, where I need > the name instead of the id in the referencing table. In web2py's > autocomplete I just do: > > db.address.city.widget=AutocompleteWidget(request,db.city.name) > > How would I go about to get this to work in this jquery autocomplete > plugin? > > Kind regards, > > Annet.