I tried that, but it doesn't work. I solved it by letting the field be readable and hiding it with description.label=' ' and represent=lambda v,r: ''. Not particularly elegant, but it gets the job done. Of course, the search dropdown includes the ' ' label, but it's not a big deal.
On Monday, 24 March 2014 07:48:37 UTC-4, Anthony wrote: > > What does your code look like? I think all readable fields are searchable, > so maybe you could make the field readable and hide it by using the > "fields" argument to list the fields to be displayed. > > Anthony > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.