Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2023 Intertech Services AG
Yandex Forms
  • Getting responses
  • Managing forms
  • Configuring access
  • Yandex 360 for business will no longer be free of charge
  • Pricing policy
  • Support
  1. Publishing a form
  2. Configuring pre-filling of forms
  3. GET parameters

GET parameters

Written by
Yandex Cloud

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

  1. Get the question ID and response ID (for multiple choice questions).

  2. Add a question mark (?) to the form URL. After it, specify the parameter. The format of the parameter depends on the question type:

    • For questions with an input field, such as Short text, Mail:
      <question ID>=<response text>
      
      If there are multiple words in the response text, replace the spaces with a + sign, e.g.:
      https://forms.yandex.com/u/5e2ac2d850bdb705c38ed14f/?answer_short_text_1685088=Planet+Earth
      
    • For questions with response options like One answer or Multiple answers:
      <question ID>=<response ID>
      
      E.g.:
      https://forms.yandex.com/u/5e2ac2d850bdb705c38ed14f/?answer_choices_1685184=1958524
      
    • For questions of the Date type:
      <question id>=YYYY-MM-DD
      
      E.g.:
      https://forms.yandex.com/u/5e2ac2d850bdb705c38ed14f/?answer_date_1685200=2020-01-27
      
    • For Yes / No questions:
      <question id>=True
      
      E.g.:
      https://forms.yandex.com/u/5e2ac2d850bdb705c38ed14f/?answer_boolean_1685199=True
      
    • For Rate on a scale questions.
      Choose a response by one criterion:
      <question ID>=<response ID>
      
      Choose a response by multiple criteria:
      <question ID>[<X criterion ID>]=<X response ID>&<question ID>[<Y criterion ID>]=<Y response ID>
      
      E.g.:
      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 multiple form fields at once, add multiple GET parameters separated by &.

    https://forms.yandex.com/u/5e2ac2d850bdb705c38ed14f/?answer_short_text_1685088=John+Smith&answer_choices_1685184=1958524
    

URLs may contain no more than 32000 characters, the remaining data is discarded. Keep this in mind when making long queries.

Was the article helpful?

Yandex project
© 2023 Intertech Services AG