Well, I didn't skip them but clearly I was in that loop I talked about.
Thanks.

On Sun, Mar 15, 2015 at 7:25 AM, Niphlod <[email protected]> wrote:

> uhm........then you completely skipped the docs about the autocomplete
> widget...
>
> model
> db.define_table('stuff',
>                 Field('nombre', 'string', requires=IS_NOT_EMPTY()),
>                 format='%(nombre)s'
>                 )
>
> db.define_table('reel',
>                 Field('whatever', 'string', requires=IS_NOT_EMPTY()),
>                 Field('sid', 'reference stuff')
>                 )
>
>
>
> controller
>
> def reel():
>     db.reel.sid.widget = SQLFORM.widgets.autocomplete(request, db.stuff.
> nombre, id_field=db.stuff.id)
>     grid = SQLFORM.grid(db.reel, user_signature=False)
>     return locals()
>
>
>
>   --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/OYly9gV1GHA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Phil Hughes
[email protected]

-- 
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/d/optout.

Reply via email to