OOUI/Layouts/Forms

 s are used to wrap FieldsetLayouts when you intend to use browser-based form submission for the fields, rather than handling them in JavaScript. Only widgets from the InputWidget family support form submission. Input widgets include standard form elements like checkboxes, radio buttons and text fields, as well as some fancier controls. Some controls have both regular and input variants, for example, DropdownWidget and DropdownInputWidget – only the latter support form submission and often have simplified APIs to match the capabilities of HTML forms.

The following example illustrates a simple login form:

"LayoutsForms.png" Form layouts can be configured with an HTML form action, an encoding type, and a method using the,  , and   configs, respectively.

For a full list of supported methods and configuration options, please see the code-level documentation.