lazy option plugin : http://dev.s-cubism.com/plugin_lazy_options_widget
There is a dependence, but you can avoid using autocomplete plugin, you just need to trigger the event required by lazy option in order to make it works with a regular dropbox. I can provide a example of the js required for this. Richard On Wed, Aug 29, 2012 at 9:59 AM, Daniel Gonzalez <[email protected]> wrote: > Hi, > > I have a very common situation. The user has to choose a country and a > city. For both fields, I am using a select component. > The possible choices in the city component depend on what the user has > selected in the country component. > So what I would like to do is: > > 1. The user selects the country > 2. The cities component gets updated with data from the server > (web2py), *without* reloading the whole form. > 3. The user selects the city > 4. The form is submitted. > > I have no idea how to implement step 2. Could somebody comment? > > Thanks > Daniel > > -- > > > > --

