# Embedding the form

Once published, you can embed the form in any website, including popular website builders such as [wordpress.com](https://wordpress.com/), [wix](https://www.wix.com/), [squarespace](https://www.squarespace.com/), [weebly](https://www.weebly.com/), as well as ecommerce platforms such as [shopify](https://www.shopify.com/).

### Getting the form's html embed code

To copy the embed html code of the form, click the *Share* button and copy the form's *Embed html code.*

<figure><img src="https://2373693479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi86fl5Basjs0JgNXT5zB%2Fuploads%2Fy2grLqymTShnD0tEPsvF%2Fdemo-board_2022-8-20%20(2).gif?alt=media&#x26;token=d6ffd99b-86fb-46b5-a5c1-21807a529daa" alt=""><figcaption><p>     Click to view in full screen</p></figcaption></figure>

### Auto-sizing embedded form height to eliminate scrollbars

To eliminate possible scrollbars when embedding the form we recommend that you turn on this feature before copying the html embed code.

This feature will automatically expand or shrink the form's height based on the form's content.

Without this feature turned on, scrollbars can be displayed in a form for a few reasons:

1. If you turned on mobile specific features such as field sizes that make the form height bigger.
2. In forms with file upload fields where the form height increases every time the user filling the form adds files to upload.

Here's how to enable this feature and copy the html embed code with this feature enabled:

<figure><img src="https://2373693479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi86fl5Basjs0JgNXT5zB%2Fuploads%2FPVK3eK7o5h5FjFZdS3pr%2Fdemo-board_2022-8-20%20(1).gif?alt=media&#x26;token=fe7d5225-7f3b-4590-ad9f-9c81a6c72da0" alt=""><figcaption><p>Click to view in full screen</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.easyappshq.com/easyform/publishing-the-form/embedding-the-form.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
