Massimo,

Thanks, this basically does what I asked.  Is the best way to get more
advanced selection dropdowns to build a widget?  What I'm really after
is a dropdown more like the one linked here.

http://developer.yahoo.com/yui/examples/autocomplete/ac_combobox.html

Thanks again for you quick response.

Best,
Sam

On Nov 14, 1:13 pm, mdipierro <[email protected]> wrote:
> as a test... leave min_lenght=0 and in gluon.sqlhtml.py after
>
> attr['_onkeyup'] = "...."
>
> add
>
> attr['_onfocues'] = attr['_onkeyup']
>
> (occurs in two places)
>
> Does it do what you ask?
>
> On Nov 14, 1:56 pm, oneroler <[email protected]> wrote:
>
>
>
>
>
>
>
> > Is it possible to use the autocomplete widget on a select box where
> > when someone clicks into the text field the dropdown with all the
> > selections are available and then the user has the option to type and
> > have the possible selections reduced?  I have tried using the
> > SQLFORM.widgets.autocomplete with min_length=0 and this kind of does
> > what I want except that you have to start typing something to get the
> > dropdown.  I also tried the jquery autocomplete widget on
> > web2pyslices, but couldn't get the result I wanted.  I thought I had
> > seen an answer to this in this group a while ago, but I haven't been
> > able to find it so apologies if this has already been answered.
> > Thanks in advance for any help.
>
> > Sam

Reply via email to