Hi, https://github.com/daxslab/web2py-typeahead is a plugin that use the corejavascript/typeahead.js autocomplete library, maybe it will help you to reach your objective.

Greetings.

El 13/12/16 a las 07:17, Terrence Monroe escribió:
In web2py it is trivial to engineer a web service that would do a partial search across all text fields for entered characters and return a JSON array of all matches. However is there some way with web2py to present these for a user to select one to complete the entry of an input field?

For example, if there were a field name "person" on an HTML form then when a person started entering a few characters into the field, the web2py json web service would search across first name, last name and email fields for a match of those characters and return all matches as a JSON array.

Then the user could press up or down arrow to select the one that matched who he/she is.

How would you do such a completing read with web2py?

--
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 <mailto:web2py+unsubscr...@googlegroups.com>. For more options, visit *MailScanner ha detectado un intento de fraude en la siguiente p�gina web "groups.google.com". /No/ conf�e en esta p�gina web:* https://groups.google.com/d/optout <https://groups.google.com/d/optout>.

--
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.

Reply via email to