Elements – Form Elements
These modular elements can be readily used and customized across pages and in different blocks.
Explore all of Stack’s modular elements
at the Element Index Page →
Common inputs such as text, email, telephone, password, address etc. Add the class .validate-required if the input is required in the form.
Alternatively use the <label> tag before an input for greater user assistance.
Wrap checkbox inputs in the input-checkbox element for a more stylish option. Alternatively, place a span directly after to group the two for visual usability
Wrap radio inputs in the input-radio element for a more stylish option. Use in conjunction with the <label> tag.
Wrap radio inputs in the input-select element for a more theme-consistent stylish option.
Using the Bootstrap column classes, you can easily control the widths of the inputs in your form.
The below code would render a form with two equally sized (six columns) inputs in two adjacent columns.