GET parameters

You can use GET parameters to add attributes to the URL address of a form. GET parameters allow you to automatically fill in the fields of the form that you publish using a link or embed on a page using iframe:

  1. Get the question ID and response ID (for questions with multiple response options).
  2. Append a question mark (?) and the parameter to the form URL. The format of the parameter depends on the question type:
    • For questions with an input field, like “Short text” or “Email”:

      <question id>=<response text>

      If there are multiple words in the response text, replace the spaces with a + sign. Examples:

      https://forms.yandex.com/u/5e2ac2d850bdb705c38ed14f/?answer_short_text_1685088=John+Smith
    • For questions with response options, like “One answer” or “Several answers”:

      <question id>=<response id>

      Examples:

      https://forms.yandex.com/u/5e2ac2d850bdb705c38ed14f/?answer_choices_1685184=1958524
    • For a “Date” question:

      <question id>=YYYY-MM-DD

      Examples:

      https://forms.yandex.com/u/5e2ac2d850bdb705c38ed14f/?answer_date_1685200=2020-01-27
    • For a “Yes/No” question:

      <question id>=True

      Examples:

      https://forms.yandex.com/u/5e2ac2d850bdb705c38ed14f/?answer_boolean_1685199=True
    • For a “Rate on a scale” question.

      Select a response for one criterion:

      <question id>=<response id>

      Select responses for multiple criteria:

      <question id>[<X criterion id>]=<X response id>&<question id>[<Y criterion id]=<Y response id>

      Examples:

      https://forms.yandex.com/u/5e2ac2d850bdb705c38ed14f/?answer_choices_1686274=231035_231038
      https://forms.yandex.com/u/5e2ac2d850bdb705c38ed14f/?answer_choices_1686274[231034]=231034_231037&answer_choices_1686274[231035]=231035_231038
  3. To fill in several form fields at once, add multiple GET parameters separated by the & symbol:
    https://forms.yandex.com/u/5e2ac2d850bdb705c38ed14f/?answer_short_text_1685088=John+Smith&answer_choices_1685184=1958524