[web2py] Re: Clarification please on autocomplete widget...

2018-06-19 Thread Anthony
It sounds like you want the reference field version of autocomplete. What is your exact model code and the widget code you tried? Anthony On Tuesday, June 19, 2018 at 11:24:07 AM UTC-4, jim kaubisch wrote: > > Thanks, Anthony. > > because there may be MANY values in the field, what I would actua

[web2py] Re: Clarification please on autocomplete widget...

2018-06-19 Thread 'jim kaubisch' via web2py-users
Thanks, Anthony. because there may be MANY values in the field, what I would actually be perfectly happy with is a list as you describe it, but one that is the result of a db query, e.g. a list of names of all schools whose "Field('district_id' , 'reference districts', label=T('District

[web2py] Re: Clarification please on autocomplete widget...

2018-06-19 Thread Anthony
No, as the example in the book shows, by "list", it just means a list generated from the contents of a single field in a database table (in contrast to the reference field option, which submits integer ID values from a reference field but searches and displays the corresponding values from an a