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.
- To show or hide a question based on previous answers, click Configure display conditions for questions or pages. Display conditions in the top right corner of the block. For more information, see
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.
Table link
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:
-
Add the parent Wiki block to the form and insert a link to the dynamic table into it.
-
In Wiki, create a second dynamic table with an additional column for filtering. For more information, see Table with answer filtering.
-
Add another Wiki block to the form and insert a link to the created table into it.
-
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
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:
-
In Wiki, create a dynamic table.
-
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. -
Add multiple rows to the table. In the
name
column cells, enter answer options that must be available in the Wiki block. -
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. -
Specify a link to the table in the Wiki block settings.
Table with answer filtering
To create a table with answer filtering:
-
In Wiki, create a dynamic table.
-
Add columns named
name
andparent
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. -
Add multiple rows to the table. In the
name
column cells, enter answer options that must be available in the Wiki block. -
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 number1
, in the parent block, answer options that have1
specified in theparent
column are available in the block with filtering. -
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. -
Specify a link to the table in the Wiki block settings and enable answer filtering.