--- categories: [Widgets] layout: page title: Forms resource: true ---

Left-aligned labels

Required and Optional Fields

The fields marked with * are required.

Example block-level help text here.

All fields required.

All fields are required.

Right-aligned labels

Basic Form

All Fields Required

All fields are required.

Required and Optional Fields

The fields marked with * are required.

All Fields Optional

All fields are optional.

Error Feedback

{% include widgets/forms/input-validation-form.html id_default="exampleInput" id_disabled="exampleInputDisabled" id_error="exampleInputError" has_error=true %}

Top-aligned labels

Basic Form

Example block-level help text here.

All Fields Required

All fields are required.

Required and Optional Fields

The fields marked with * are required.

All Fields Optional

All fields are optional.

Inline Form

Inside a modal

{% include widgets/forms/input-validation-modal.html id_default="modalInput" id_disabled="modalInputDisabled" id_error="modalInputError" has_error=true %}

Expand-Collapse Section

{% include widgets/forms/expand-collapse-section.html id_blueprintname="AdvOptBlueprintName" id_catalog="AdvOptCatalog" id_number="AdvOptNumber" id_entry1="AdvOptEntry1" id_entry2="AdvOptEntry2" id_entry3="AdvOptEntry3" id_fieldsection="AdvOptSection" is_modal=false col_size_label="2" col_size_field="10" %}

Expand-Collapse Section inside a modal

Controls

Count Remaining Characters Control


Static Control

email@example.com

Help Text

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

Control Sizing

Input Groups

Basic Example

.00
$ .00

Sizing

@
@
@

Checkboxes and radio addons

Button addons

Buttons with dropdowns

Segmented buttons

Form States