Wiki

To answer this question, you can select data loaded from a Wiki dynamic table. Answers not listed in the table are not accepted.

Data from the dynamic Wiki table is updated every 30 minutes, which is why answer options may be loaded with a delay.

Question

Enter the question title or text.

  • To add a comment or hint to a question, click Add explanation. The text of a comment is displayed using a smaller font size.

    To format the text of a question or comment, use Markdown markup.

  • To add an image to the question, click Add image.

  • To make a question required, enable the  Required option in the top right corner of the block.

    The required question is marked with * in the form. If a user skips this question, they won't be able to submit the form.

Answer options

Multiple options

Enable this option so the users can select multiple answer options for a question.

Data type

Use the Wiki value to load answer options from a dynamic table.

Specify an absolute or relative link to the dynamic table in Wiki. For example:

https://wiki.yandex.com/users/<username>/<page_name>?gridId=<table_ID>

/users/<username>/<page_name>?gridId=<table_ID>

You can copy the link to the dynamic table from the table settings.

For instructions on how to create a table in Wiki, see Table of answer options.

Filter answer options

Use this option to load different answer options based on which option the user selected in the previous (parent) Wiki block. To filter answer options:

  1. Add the parent Wiki block to the form and insert a link to the dynamic table into it.

  2. In Wiki, create a second dynamic table with an additional column for filtering. For more information, see Table with answer filtering.

  3. Add another Wiki block to the form and insert a link to the created table into it.

  4. In the Filter answers list, select the parent Wiki block with the parent table.

Answer options in the second block will vary based on the answer that the user selected in the parent block.

Settings

To reveal more question settings, click  Show settings at the top of the block. To hide the settings, click the icon again.

ID of the question

Use the question ID to prefill the form.

Question IDs can contain uppercase and lowercase Latin letters, numbers, hyphens - and underscores _. Make sure all questions in the same form have unique IDs.

Hide question

Enable this option to hide a question from the form. You can use hidden questions to pass service or auxiliary parameters.

Don't enable the Hide question and Required options at the same time. Otherwise, the users won't be able to submit the form.

How to create a table in Wiki

Table of answer options

The table of answer options for the Wiki block must use a special format. To create this table:

  1. In Wiki, create a dynamic table.

  2. Add a column named name to the table.
    If there are other columns in the table, they won't affect the answer options in the Wiki block.

  3. Add multiple rows to the table. In the name column cells, enter answer options that must be available in the Wiki block.

  4. Make sure that the service account yndx-wiki-cnt-robot@ has access to the table. This account also has access to the table if Available to all employees mode is on.

  5. Specify a link to the table in the Wiki block settings.

Table with answer filtering

To create a table with answer filtering:

  1. In Wiki, create a dynamic table.

  2. Add columns named name and parent to the table.
    If there are other columns in the table, they won't affect the answer options in the Wiki block and their filtering.

  3. Add multiple rows to the table. In the name column cells, enter answer options that must be available in the Wiki block.

  4. Link each answer option to a row in the parent table, which is the table specified in the parent Wiki block settings. To do so, go to the parent column and specify the row number in the parent table that should load the answer in the Wiki block with filtering.
    For example, if the user selects an answer from row number 1, in the parent block, answer options that have 1 specified in the parent column are available in the block with filtering.

  5. Make sure that the service account yndx-wiki-cnt-robot@ has access to the table. This account also has access to the table if Available to all employees mode is on.

  6. Specify a link to the table in the Wiki block settings and enable answer filtering.

Previous