---
metadata:
  - name: generator
    content: Diplodoc Platform v5.39.1
alternate:
  - https://yandex.com.tr/support/forms/en/publish.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com.tr/support/forms/en/llms.txt

# Publishing a form


Users will be able to fill out the form once you publish it. For example, you can do this by posting a link on your website or socials. If you're using Forms for business, you can publish the form on a Wiki page or in Yandex Tracker.

You can limit the number of form respondents, set a timeframe for submitting responses, and block users who are not part of your organization from filling out the form.


{% note tip "" %}

You can make changes to the form and its settings even after publication.

{% endnote %}

## Publishing a form using a link {#link}


To get a link to a form:

1. Open the form and click **Publish** above the list of questions.

1. In the **Share this form** pop-up window, copy the form link.

    {% include notitle [publish](_includes/question-settings-3957eedd456f.md#publish) %}

1. Send the link to users or post it on public resources.


{% note tip "" %}

If you need Yandex Forms service messages — like warnings about invalid inputs — to appear in English, change the domain from `.ru` to `.com` in the link.

{% endnote %}


## Generating a private link {#personal-link}

To distribute private links to your form, for example, among your promo participants, generate keys with unique links. A user can fill out the form using a link from the key only once.

{% note warning "" %}

You can use the keys to share the form before it's published. If you click **Publish** in the form builder, the keys will stop working as unique links: if a user follows them, they can fill out the form multiple times.

{% endnote %}

To generate keys:
1. Select a form and go to **Settings** → **Personal links**.
1. Click **Generate keys**.
1. Enter the name for the keyset and the number of keys.
1. Click **Generate**: the new keyset will show up in the list.

You can generate up to 10 keysets in total. Each set can hold up to 100 keys.

Links to the form are stored in the keyset's XLS file. To get links to your form, export this file and copy links from it.

To deactivate unused keys, click <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="currentColor" aria-hidden="true" class="yc-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M14 6.125a1.874 1.874 0 1 1 .001 3.749A1.874 1.874 0 0 1 14 6.125zm-5.906 0a1.874 1.874 0 1 1 0 3.749 1.874 1.874 0 0 1 0-3.749zM2 6.125a1.874 1.874 0 1 1 .001 3.749A1.874 1.874 0 0 1 2 6.125z"/></svg></svg> → **Disable**. The link will change its status to **Inactive**.

## Publishing on a website {#publish-site}

To publish a form on your website:

1. Select the form and click **Publish** above the list of questions.

1. In the **Share this form** pop-up window, select the link or iframe code, then click <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" class="g-icon" fill="currentColor" stroke="none" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M12 2.5H8A1.5 1.5 0 0 0 6.5 4v1H8a3 3 0 0 1 3 3v1.5h1A1.5 1.5 0 0 0 13.5 8V4A1.5 1.5 0 0 0 12 2.5ZM11 11h1a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v1H4a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3v-1ZM4 6.5h4A1.5 1.5 0 0 1 9.5 8v4A1.5 1.5 0 0 1 8 13.5H4A1.5 1.5 0 0 1 2.5 12V8A1.5 1.5 0 0 1 4 6.5Z" clip-rule="evenodd"/></svg></svg> to the right.

    {% include notitle [publish](_includes/question-settings-151e8cb8a82b.md#publish) %}

1. Copy the form code from the **Iframe embed code** field.

1. Paste it into the HTML code of the page where you want to put the form.

1. Include additional form display parameters in your code if needed.

1. To only publish your form in an iframe, set up a restriction:

    1. Go to **Settings** → **Additional**.

    1. Select **Allow publishing in iframe only**. In this case, you won't be able to share the form via a direct link.



{% note warning "" %}

If your site or service uses a [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) with restrictions on embedding sites in iframes, add the `forms.yandex.ru` and `cloud.yandex.ru` domains to the [`frame-src`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/frame-src) directive to ensure your forms function correctly within iframes.

In your site or service settings, add the following string:

```
Content-Security-Policy: frame-src https://forms.yandex.com https://cloud.yandex.ru;
```

{% endnote %}


### Additional parameters {#additional-parameters}

You can configure the rules for displaying the form on the website:

- To set the size, change the `width` parameter value. You can specify the size in percentage or pixels.
    For example, if you want the form to fit the page width, specify `width="100%"`.

- To adjust the form height, add the `height` parameter to the form code. You can specify the value in percentages or pixels.

- To add a border around the form, change the value of the `frameborder` parameter to `frameborder=1`.

- ``To set a theme for the form, add an ampersand (`&`) and either a theme or `_theme` query parameter with one of the following values after the `iframe=1` URL parameter:

    * `theme=light`: Light theme.
    * `theme=dark`: Dark theme.
    * `theme=dark-hc`: Dark theme with high contrast.
    * `theme=light-hc`: Light theme with high contrast.

Sample form code:

```
<iframe src="https://forms.yandex.com/1234/?iframe=1&theme=dark" frameborder="1" width="650" height="800"></iframe>
```


## Publishing the form on Wiki {#publish-wiki}

{% note warning "" %}

Only users of Yandex Forms for Business can work with Wiki.

{% endnote %}

To publish a form on a Wiki page:

1. Click **Publish** above the question list.

1. In the **Share this form** pop-up window, copy the form link.

    {% include notitle [publish](_includes/question-settings-feff77128c81.md#publish) %}

1. Paste the link into Wiki page text as follows:

    ```
    {% forms src="<link_to_form>" %}
    ```

## Adding the form to  Tracker {#publish-tracker}

{% include [embed-form](./_includes/embed-form-2ce82a078420.md) %}

## Unpublishing the form {#unpublish}

To stop accepting responses and unpublish the form:

1. Select the form and click **Published** <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" class="g-icon" fill="currentColor" stroke="none" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M2.97 5.47a.75.75 0 0 1 1.06 0L8 9.44l3.97-3.97a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd"/></svg></svg> above the list of questions.

1. Click **Unpublish**.

{% include [style](https://yandex.com.tr/support/forms/en/_assets/style-a13ddc9841bc.md) %}
