> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/convert/forms/forms-common-questions/forms-how-to-create-responsive-fields-in-forms.md).

# Forms - How to create responsive fields in forms

One way to improve the user experience is to create responsive fields in your forms, as they adapt to the screen size and make viewing easier.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FSSkKjpSH8jWWqiSZUjtU%2Fimage.png?alt=media&amp;token=04dbc541-08c9-4df8-8d4e-23585ca527f0" alt=""><figcaption></figcaption></figure>

See how to create a responsive button in the example below, using the button **Send** as a reference:

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FICO8YHLaVCc1njq83jso%2F2024-03-30_10h46_561.png?alt=media&amp;token=e45d0ad5-2dab-485f-8e7b-75ea2eb86cff" alt=""><figcaption><p>It adapts to the lead's screen size.</p></figcaption></figure>

Access the Form Creation page and click the button **SEND** and then on the option **DIMENSIONS**.

Note that the selected unit of measurement is Pixel, which is a static unit, that is, one that does not adapt properly to the different screen sizes of the devices users may use.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FieqRT8YcXkjqVAviFT2O%2F2024-03-30_10h44_42.png?alt=media&amp;token=af1b9f85-c303-498e-a6d8-49dea058590c" alt=""><figcaption><p>Button we will use as an example.</p></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FtIiTOCSXB7zvsuvBHmzW%2F2024-03-30_10h45_09.png?alt=media&amp;token=a2149822-4bee-4579-a150-8ac58107b8b6" alt=""><figcaption><p>The same procedure can be done for other components.</p></figcaption></figure>

In the measurements selection you will find **other** options, but the **best** option for this case is to use the unit of measurement of **Percentage**, as it is a dynamic unit that adjusts to users' screens. It is **important** to keep the width at **100%**.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F5ivdYRd383YfbnA7D8p3%2F2024-03-30_10h46_41.png?alt=media&amp;token=524c1af5-e22c-4f50-82a6-ec1bcfc0bed3" alt=""><figcaption></figcaption></figure>

Note that the Send button **adapts** to the form borders!

To check how the button will look on different screens, we offer the Format Preview option for tablet, mobile, and computer. That way you can get an idea of what the final result will be.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FVMLClPGFHGvapdJ6iAZo%2F2024-03-30_10h46_56.png?alt=media&amp;token=3e922935-504d-43b8-9f54-efb9a6c62e1c" alt=""><figcaption><p>The same can be done for tablets and other screen formats.</p></figcaption></figure>

*Now your button is ready to adapt to different screens.*
