Forum Discussion
Sadok_Hadji
Jun 01, 2020Copper Contributor
SharePoint Online Lookup Dropdown Autocomplete/Combobox
Hi All, I have a list in Sharepoint Online, which has a lookup to an other list. No matter what, on the form it will always render as a dropdown value. When this list of values becomes huge, it's...
Lewis-H
Iron Contributor
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
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
RobElliott
Jun 02, 2020Silver Contributor
Lewis-H as the original poster is using Sharepoint Online I assume (though I might be wrong) that he has access to Power Apps which has replaced InfoPath - you can't use Infopath on a modern SharePoint Online site in Office 365. Hence my suggestion to use Power Apps where what s/he wants to do can be done quite easily.
Rob
Los Gallardos
Microsoft Power Automate Community Super User