Massimo,

I gave this a try:

from gluon.sqlhtml import AutocompleteWidget

db.define_table('address',
   Field('city',length=42,default='',notnull=True)),
   ...)

db.address.city.widget=AutocompleteWidget(request,db.city.name,db.city.name,orderby=db.city.name)


but that doesn't work, why not?


Kind regards,

Annet.

Reply via email to