Selectbox

Using Optgroup in a Selectbox

To give your user a better browsing experience, you could use so called ‘optgroups’ to seperate groups of options in a select list for your forms. The optgroup element is defined by w3.org as “[it] allows authors to group choices logically. This is particularly helpful when the user must choose from a long list of More