Search code examples
sharepoint-2010infopath2010

Infopath 2010: Auto suggestion method for combo box or drop down in infopath form


I had a Combobox (lookup) in an infopath form. I tried to get the value from the lookup by the auto suggestion method. But it does not work. Does anyone know how to implement the filter-while-user-typing, using only an infopath form. Thanks in advance


Solution

  • This cannot be done without code. If you can only use native InfoPath, there is no type-ahead functionality for combo-box or drop-downs.

    If this is a list form, you will not be able to use code behind at all. You may get some traction with a JavaScript approach. Start with this blog post that explains the process using Marc Anderson's SPServices on the web page where the form displays:

    http://butdoesitwork.typepad.com/but_does_it_work/2011/08/infopath-and-autocomplete-and-other-lessons.html