I used several times AutocompletWidget (works great). When I want to run the search across the entire string and not just at the beginning, I must copy the code to a module and modify it, adding "%" at the beginning: field.like ('%' + self.request.vars [self.keyword] + '%' ... There is another way to do it and I missed ?.
The suggestion is if you can add that option (something like at_beginning = True) to the class to include this functionality in web2py code. I understand that no one has asked, I think it requires very little change and in my case worth. Thank you. Best regards. Fernando. -- 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.