> For the complete documentation index, see [llms.txt](https://design.mirakl.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://design.mirakl.com/design/components/form.md).

# Form

A page that has interactive controls with which a user can submit information to a web server.

### Forms at Mirakl <a href="#id-594a74" id="id-594a74"></a>

Forms represent a great deal in Mirakl's products. Our users encounter forms in various situations: to fill in information, to manage settings, or to create objects...

As a recurring pattern in our products, we aim to provide a consistent form experience. To do so, we described in this section each form component guideline.

Learn more about [form behavior](/design/patterns/forms.md) (save/cancel behavior, error management, ...) in our [Patterns section](broken://pages/vu7c3Prmeh2lyI38WJAo).

***

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Fields</strong></td><td>Fields allow users to enter an input. They will provide answers we cannot foresee unlike pickers.</td><td></td><td><a href="/design/components/form/fields.md">Fields</a></td><td><a href="https://1297765105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMoZPkWOmnKvoMWGW4aeM%2Fuploads%2FPcIwcdzDDH7oiybEFvZE%2FFields%20Card.png?alt=media&amp;token=57f3cad3-de55-44ad-af80-943f2c89ff25">Fields Card.png</a></td></tr><tr><td><strong>Pickers</strong></td><td>Pickers allow users to select content from a set of values, usually presented in a list or dropdown menu.</td><td></td><td><a href="/design/components/form/pickers.md">Pickers</a></td><td><a href="https://1297765105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMoZPkWOmnKvoMWGW4aeM%2Fuploads%2FTSOpkdZWunMeDWAQmwfP%2FPickers%20Card.png?alt=media&amp;token=08390d53-94a4-491b-8b7c-88115d97cbf6">Pickers Card.png</a></td></tr><tr><td><strong>Selection controls</strong></td><td>Selection controls are specific components to let users control different kinds of options, settings, or situations.</td><td></td><td><a href="/design/components/form/selection-controls.md">Selection controls</a></td><td><a href="https://1297765105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMoZPkWOmnKvoMWGW4aeM%2Fuploads%2F6vGodjxkq9wHtpkdKL9C%2FSelection%20controls%20Card.png?alt=media&amp;token=668a4f08-1cfa-4640-8ead-154c3bf0f03f">Selection controls Card.png</a></td></tr><tr><td><strong>Tree</strong></td><td>A tree helps showcase data in a hierarchical way, either for selection or navigation.</td><td></td><td><a href="/design/components/form/tree.md">Tree</a></td><td><a href="https://1297765105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMoZPkWOmnKvoMWGW4aeM%2Fuploads%2Fke8WImOUq8wj6k11hKFp%2FTree%20Card.png?alt=media&amp;token=3dc4bc9d-0fd4-400c-97e0-11ab9cc1e718">Tree Card.png</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://design.mirakl.com/design/components/form.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
