Standard Form Elements

Examples and usage guidelines for form control styles, layout options, and custom components for creating a wide variety of forms.

How To

  1. Step 1: Include LambdaEx Framework in Logi Info Application. Include LambdaEx Framework in Logi Info Application.

Form Element Info

Individual form controls automatically receive some global styling. All textual input, textarea, and select elements with .form-control are set to width: 100%; by default. Wrap labels and controls in .form-group for optimum spacing.
Text Input Examples
Text Fields

Screen readers will have trouble with your forms if you don't include a label for every input. For these inline forms, you can hide the labels using the .sr-only class. There are further alternative methods of providing a label for assistive technologies, such as the aria-label, aria-labelledby or title attribute.

A block of help text that breaks onto a new line and may extend beyond one line.

A block of help text that breaks onto a new line and may extend beyond one line.

Validation states

Validation styles for error, warning, and success states on form controls. To use, add .has-warning, .has-error, or .has-success to the parent element. Any .control-label, .form-control, and .form-text text-muted within that element will receive the validation styles.

Sizing
Text Fields

Set heights using classes like .form-control-lg and .form-control-sm.

Validation states

Validation styles for error, warning, and success states on form controls. To use, add .has-warning, .has-error, or .has-success to the parent element. Any .control-label, .form-control, and .form-text text-muted within that element will receive the validation styles.

Dropdown Lists
Select List
Checkbox List Group
Button Dropdowns
Dropdown
Dropup
Dropup
Checkbox Options
Checkbox Selector
Checkbox
Inline Checkbox

 Chart Debug