3 ms·
There's another solution: cascaded dropdowns. One common, nasty example is a list of countries in online shops. Many at least either pre-fill based on IP geolo
by mschuster91 10y ago
There's another solution: cascaded dropdowns.
One common, nasty example is a list of countries in online shops. Many at least either pre-fill based on IP geolocation or stick the most common target countries at the top, but there are also some sites that sort alphabetically, or worse, group by continent and then sort.
This can be solved by having only one dropdown visible with the continent; once this is selected, a dropdown with the country appears below, and optionally a third dropdown for the county/state (e.g. USA, optionally in Germany but no one requires the state in Germany anyway).
Downside of this approach, though, is that browsers cannot auto-fill.
On a sidenote, I remember that you can "annotate" input HTML elements to ease auto-fill (besides the obvious type=tel/fax/email). Can anyone please give me a hint? I seem to be too stupid to find the guide for this again :(
- detaro 10y agoI find the multi-dropdown pattern even more annoying. Yes, the individual choices are smaller, but then I have to click/tab-select the next drop-down multiple times, wait for fold-out animation, understand what the options are, repeat, and there often are strange bugs, e.g. if you try to fix an error. Non-dropdown selects next to each other are better for this pattern IMHO, but take space. Searchable dropdowns/autocompleting text fields really should be part of the HTML standard...