> 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/patterns/forms.md).

# Forms

Allow users to submit or edit information.

This section describes all design and content rules for forms using Roma.&#x20;

\
Some behaviors remains consistent to every forms such as how to manage backlink or error management. Those are General Guidelines.\
But some behaviors or layout may varies. Take a look to dedicated section "Specific guidelines - Creation vs edition mode".

Go to the dedicated section for more information regarding [form components](/design/components/form.md) (e.g. fields, pickers).

<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>Form - Creation</strong></td><td></td><td></td><td><a href="/design/patterns/forms/form-creation-mode.md">Form - Creation mode</a></td><td><a href="https://1297765105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMoZPkWOmnKvoMWGW4aeM%2Fuploads%2FXOwhYZEvzsLd58DMTVFo%2FCreation%20and%20edition%20modes%20Card.png?alt=media&amp;token=b577bb44-1836-4d67-adf7-95720ce83ffa">Creation and edition modes Card.png</a></td></tr><tr><td><strong>Form - Edition mode</strong></td><td></td><td></td><td><a href="/design/patterns/forms/form-edition-mode.md">Form - Edition mode</a></td><td><a href="https://1297765105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMoZPkWOmnKvoMWGW4aeM%2Fuploads%2FJyW4IghkTdgbTsxoCRpb%2FForms%20Card.png?alt=media&amp;token=e33bb1ca-4bf7-452e-aeab-66feab58e2c1">Forms Card.png</a></td></tr><tr><td><strong>Form - In a modal</strong></td><td></td><td></td><td><a href="/design/patterns/forms/form-in-a-modal.md">Form - In a modal</a></td><td><a href="https://1297765105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMoZPkWOmnKvoMWGW4aeM%2Fuploads%2F77NYCtpdNmXexYMeQqDZ%2FIn%20a%20modal%20Card.png?alt=media&amp;token=6b5b1921-70cf-42c5-a94b-0b8674e5fcd1">In a modal Card.png</a></td></tr><tr><td></td><td><strong>Error Management</strong></td><td></td><td><a href="/design/patterns/forms/error-management.md">Error Management</a></td><td><a href="https://1297765105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMoZPkWOmnKvoMWGW4aeM%2Fuploads%2FTBMTtS9pzTxxVKed0xqd%2Ferror.svg?alt=media&amp;token=92b46535-c4a5-495d-8bfe-67cb08407ba8">error.svg</a></td></tr><tr><td><strong>Stepper form</strong></td><td></td><td></td><td><a href="/design/patterns/forms/stepper-form.md">Stepper form</a></td><td><a href="https://1297765105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMoZPkWOmnKvoMWGW4aeM%2Fuploads%2FIc89LpXp1eL7VmSoo4nc%2FStepper%20and%20onboarding%20stepper%20Card.png?alt=media&amp;token=08b77f10-7ac7-4306-9cd9-8a7398567361">Stepper and onboarding stepper Card.png</a></td></tr><tr><td></td><td><strong>Onboarding form</strong></td><td></td><td><a href="/design/patterns/forms/onboarding-form.md">Onboarding form</a></td><td><a href="https://1297765105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMoZPkWOmnKvoMWGW4aeM%2Fuploads%2FQf8mk7D0ECqOtKjLL643%2FCapture%20d%E2%80%99e%CC%81cran%202024-05-23%20a%CC%80%2011.26.58.png?alt=media&amp;token=c7071187-6920-46aa-a810-8aa4872430ff">Capture d’écran 2024-05-23 à 11.26.58.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/patterns/forms.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.
