Thanks.
On Monday, October 15, 2012 12:44:01 PM UTC-5, Massimo Di Pierro wrote:
>
> There is a way:
>
> 1) remove the dropdown while still doing validation serverside:
>
> db.order.product.requires = [IS_IN_DB(db,'product.id','%(name)s')]
>
> (By having the validator in a list, it will not cr
There is a way:
1) remove the dropdown while still doing validation serverside:
db.order.product.requires = [IS_IN_DB(db,'product.id','%(name)s')]
(By having the validator in a list, it will not create the dropdown)
2) add autocomplete:
db.order.product.widget = SQLFORM.widgets.autocomplete(re
2 matches
Mail list logo