On Jul 21, 9:16 am, hywang <[email protected]> wrote: > when use IS_IN_DB(), it generates too many options, of course we can > use requires = [IS_IN_DB()] to make it like a textbox rather than > selectbox, however, it is not converious for user to select an item. > Can we solve it using auto-complete like google suggestion ?
A number of jQuery autocomplete plugins exist which should work: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ http://www.pengoworks.com/workshop/jquery/autocomplete.htm http://plugins.jquery.com/project/autocompletex http://plugins.jquery.com/project/YA_AutoComplete Some threads on autocomplete within Web2Py: http://groups.google.com/group/web2py/browse_thread/thread/e1034df0091b5bfd http://groups.google.com/group/web2py/browse_thread/thread/f6e0170273b14241 If you get a good recipe together, perhaps you could post it onto AlterEgo? F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

