Now, most people who have built websites have included forms. Regular text elements, number, select (dropdown), checkboxes and radio buttons.
A situation I’ve often encountered is where we need the user to choose from a very long list of options.
The easiest thing to do is to put all the options into a select element. However, this is impractical because…
- It can make for a very terrible user experience
- If all the options are huge (like in thousands) then there is no practical reason to load all these into the select option.
An auto complete form. We could have a huge list and show only those relevant to the user. We don’t need to load all the results into the HTML, we can simply load the ones we need as the user types.
Also published on Medium.