you mean this one? http://www.web2pyslices.com/slice/show/1724/cascading-dropdowns-simplified
On Tuesday, November 5, 2013 10:57:08 AM UTC-8, Richard wrote: > > You want a kind of conditional drop down from what I understand... There > recent new feature exactly for this... > > I don't know if it has been documented, but there is example of the > synthax on the group. > > Richard > > > On Tue, Nov 5, 2013 at 12:49 PM, greenpoise <[email protected]<javascript:> > > wrote: > >> is very simple. The autocomplete works fine. The only thing that I want >> is once the product is searched and selected, to go into some sort of list >> of items. So technically my subject is wrong, it should be OnClick instead >> of OnSelect: >> >> db.define_table('productsearch', >> >> Field <http://127.0.0.1:8000/examples/global/vars/Field>('tilename')) >> db.productsearch.tilename.widget=SQLFORM >> <http://127.0.0.1:8000/examples/global/vars/SQLFORM>.widgets.autocomplete(request >> <http://127.0.0.1:8000/examples/global/vars/request>,db.product.tilename, >> id_field=db.product.id) >> >> >> def psearch(): >> form=SQLFORM <http://127.0.0.1:8000/examples/global/vars/SQLFORM>(db. >> productsearch) >> return dict(form=form) >> >> >> On Monday, November 4, 2013 6:07:42 PM UTC-8, Richard wrote: >> >>> Can show you some code, but it is heavily customized so it may be not >>> what you want... >>> >>> Just let me know. >>> >>> Richard >>> >>> >>> On Mon, Nov 4, 2013 at 4:41 PM, greenpoise <[email protected]> wrote: >>> >>>> Thanks, will check! >>>> >>>> >>>> >>>> On Monday, November 4, 2013 12:10:59 PM UTC-8, Richard wrote: >>>> >>>>> Notice this : http://stackoverflow.com/**que** >>>>> stions/17903645/where-is-**the-**typeahead-javascript-**module-** >>>>> in-bootstrap-3-rc-1<http://stackoverflow.com/questions/17903645/where-is-the-typeahead-javascript-module-in-bootstrap-3-rc-1> >>>>> >>>>> Richard >>>>> >>>>> >>>>> On Mon, Nov 4, 2013 at 2:58 PM, Richard Vézina >>>>> <[email protected]>wrote: >>>>> >>>>>> Do you know bootstrap typeahead? >>>>>> >>>>>> You can customized it as you want then you only have to pass a >>>>>> function that return a json... >>>>>> >>>>>> Richard >>>>>> >>>>>> >>>>>> On Mon, Nov 4, 2013 at 1:41 PM, greenpoise <[email protected]>wrote: >>>>>> >>>>>>> I have an Autocomplete widget field that goes through my product >>>>>>> table. I need to put the selected product into a list. Rather than >>>>>>> using >>>>>>> the button after I select the product, ideally I would like to select >>>>>>> the >>>>>>> product and it automatically goes into the list and the search field >>>>>>> stays >>>>>>> on top. Could someone lead me to this? what is it called? >>>>>>> >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> -- >>>>>>> Resources: >>>>>>> - http://web2py.com >>>>>>> - http://web2py.com/book (Documentation) >>>>>>> - >>>>>>> http://github.com/web2py/**web2p**y<http://github.com/web2py/web2py>(Source >>>>>>> code) >>>>>>> - >>>>>>> https://code.google.com/p/**web2**py/issues/list<https://code.google.com/p/web2py/issues/list>(Report >>>>>>> Issues) >>>>>>> --- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "web2py-users" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to web2py+un...@**googlegroups.com. >>>>>>> >>>>>>> For more options, visit >>>>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out> >>>>>>> . >>>>>>> >>>>>> >>>>>> >>>>> -- >>>> Resources: >>>> - http://web2py.com >>>> - http://web2py.com/book (Documentation) >>>> - http://github.com/web2py/**web2py >>>> <http://github.com/web2py/web2py>(Source code) >>>> - >>>> https://code.google.com/p/**web2py/issues/list<https://code.google.com/p/web2py/issues/list>(Report >>>> Issues) >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "web2py-users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to web2py+un...@**googlegroups.com. >>>> For more options, visit >>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>>> . >>>> >>> >>> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

