Form controls
Basic elements
Basic form elements
Examples of various form controls.Use Bootstrap's predefined grid classes to align labels and groups of form controls in a horizontal layout by adding .form-horizontal to the form (which doesn't have to be a <form>). Doing so changes .form-groups to behave as grid rows, so no need for .row.
Select2 is a jQuery based replacement for select boxes. It can take a regular select box and turn it into:
A placeholder value can be defined and will be displayed until a selection is made.
Select2 also supports multi-value select boxes. The select below is declared with the multiple attribute.