tried this as well:
form=SQLFORM.factory(Field('tile',db.product),widget=SQLFORM.widgets.autocomplete(request,db.product.tilename,id_field=db.product.id))
if form.process().accepted:
response.flash = 'form accepted'
session.product = form.vars.product
None produce an error.
On Wednesday, September 4, 2013 12:31:26 PM UTC-7, greenpoise wrote:
>
>
> form=SQLFORM.factory(Field('tile',widget=SQLFORM.widgets.autocomplete(request,db.product.tilename)))
> if form.process().accepted:
>
> response.flash = 'form accepted'
> session.product = form.vars.product
>
> return dict(form=form)
>
>
>
> On Wednesday, September 4, 2013 11:53:50 AM UTC-7, Massimo Di Pierro wrote:
>>
>> please post an example that does not work and we will check it.
>>
>> On Wednesday, 4 September 2013 13:09:15 UTC-5, greenpoise wrote:
>>>
>>> I have tried different examples found in the forum but it does not seem
>>> to work. Is this feature available?
>>>
>>>
>>> thanks
>>>
>>
--
---
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.