Objective

Selecting an item in a huge dropdown list is often annoying. The purpose of this script is to replace the Dropdown list with an Autocomplete Textbox by using existing dropdown values on the NINTEX Forms as source. Dropdown could be a choice field, a lookup column, or an SQL request control.

Approach

For this demo, I have chosen Lookup dropdown as source. The same process will work for SQL control and choice field as well.

sharepoint

Configuration in the NINTEX forms

Controls

Script Files

Configuration in the NINTEX forms

Note - If you have multiple JS files, just press Enter after each file code and paste them.

In Action

Here are the values in the Lookup Dropdown.


Once you start typing the text, you will see the results.


Once you select the item from the result, the corresponding item is selected in the dropdown (which is a connected to the list items).


For other Contorls (SQL Request or Choice filed ), you shall follow the same steps - enable client id and call the function in Custom JavaScript section of Nintex forms.

In real-time, it is not required to show the Dropdown. So, hide the Dropdown control. For this, I always place a hidden panel at the bottom of the form and place the control inside of it with some comments for other developers to understand the purpose.

Hope you find this article informative. Happy coding !!!