Wiki
Note
This block is only available to users of Yandex Forms for business.
In this block, the user can enter response options that are loaded from a dynamic Wiki table. Acceptable response options are suggested to the user as they type. Responses not listed in the table are not accepted.
Warning
Data from the Wiki dynamic table is updated every 30 minutes. Therefore, response options may be loaded with a delay.
If multiple Wiki blocks are used in the form, you can configure response filtering. In this case, a set of possible responses in one Wiki block will change depending on the response selected in another block.
Block settings
Question
Enter a field name or a prompt.
-
To add an image to the question text, click .
-
To add a comment or hint to a question, click
Add comment. The comment text is displayed with a smaller font size. -
To format the question or comment text, use Markdown markup.
Question ID
Use the question ID for pre-filling forms.
You can edit the ID. All questions in the same form must have unique IDs.
In the ID you can use uppercase and lowercase letters in the Latin alphabet, numbers, symbols -
and _
.
Required prompt
Turn this option on to mark required prompts with an asterisk
. If the user doesn't respond to this prompt, they can't submit the completed form.
Hidden question
Turn on this option if you don't want to show a prompt on the form. You can use hidden questions for sending technical parameters.
Warning
Don't turn on Hidden question and Required prompt at the same time, otherwise users won't be able to submit the completed form.
Link to the table of responses
In the Settings section, insert an absolute or relative link to the dynamic table of response options. E.g.:
https://wiki.yandex.com/users/<username>/<table_name>
/users/<username>/<table_name>
Filter responses
You can use this option to filter response options in the Wiki block: load different rows from the dynamic table depending on the response selected in a different Wiki block. To do this, add at least two Wiki blocks to the form:
-
Parent block.
-
Block with response options that are filtered depending on the response that the user selected in the parent block.
To filter response options:
-
Add a parent Wiki block to the form or select an existing block as the parent.
-
Create a table of responses with an additional column for filtering.
-
Add a block with filtering to the form and specify a link to the created table in the Settings section.
-
Enable Filter responses.
-
In the Select a question to filter list, specify the Wiki block with the parent table.
Create a table of responses
The table of responses for the Wiki block must use a special format. To create this table:
-
In Yandex Wiki
, create a dynamic table. -
Add a column named
name
to the table.
If there are other columns in the table, they will not affect the response options in the Wiki block. -
Add multiple rows to the table. In the
name
column cells, enter response options that must be available in the Wiki block. -
Make sure 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.
Create a table with response filtering
To create a table with response filtering:
-
In Yandex Wiki
, create a dynamic table. -
Add columns named
name
andparent
to the table.
If there are other columns in the table, they will not affect the response options in the Wiki block and their filtering. -
Add multiple rows to the table. In the
name
column cells, enter response options that must be available in the Wiki block. -
Link each response option to a row in the parent table, i.e., 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 response in the Wiki block with filtering.
For example, if the user selects a response from row number1
, in the parent block, response options that have1
specified in theparent
column are available in the block with filtering. -
Make sure 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 response filtering.