OOUI/Layouts/Forms

FormLayouts are used to wrap FieldsetLayouts when you intend to use browser-based form submission for the fields, rather than handling them in JavaScript. The following example illustrates a simple login form:

Form layouts can be configured with an HTML form action, an encoding type, and a method using the action, enctype, and method configs, respectively. For a full list of supported methods and configuration options, please see the code-level documentation.