Form

Summary

There are two different ways to show forms. ZUI provides support for horizontally labeled forms and vertically labeled forms.

There are no attributes defined for this pattern.

Example

This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.
This is a description of the element.
This is an error message for the element.

Markup

<form>
    <div class="zui-field-group">
        <label for="element">Input element</label>
        <input type="text" id="element" value="">
        <div class="zui-description">This is a description of the element.</div>
        <div class="zui-error">This is an error message for the element.</div>
    </div>
</form>
Fork me on GitHub