Wiki

Restriction. This block is only available to Yandex.Connect users.

In this block, the user can enter response options that are loaded from a dynamic Wiki table. When they type text, hints with suggested responses appear in the field. Responses that aren't in the table aren't accepted.

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 changes depending on the response that the user selected in another block.

  1. Block settings
  2. Create a table of responses
  3. Create a table with response filtering

Block settings

Prompt

Enter the field name or the prompt.

  • To add an image to the prompt, click .
  • To add a comment or hint to the prompt, click + Add comment. The comment is displayed in a small font.
  • To format the text of your prompt or comment, use Markdown.
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.

Required prompt

Turn on this option to mark a required prompt 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.

Important. Don't turn on Hidden question and Required prompt at the same time, or users won't be able to submit the completed form.
Link to the table of responses
In Settings, insert an absolute or relative link to the dynamic table of response options. Examples:
https://wiki.yandex.com/users/username/page-name
/users/username/page-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.
  • A block with response options that are filtered depending on the response that the user selected in the parent block.

To filter response options:

  1. Add a parent “Wiki” block to the form or select an existing block as the parent.
  2. Add a block with filtering to the form and put a link to the created table in Settings.
  3. Turn on Filter responses.
  4. In the Select a question to filter list, specify the “Wiki” block with the parent table.

Create a table of responses

A table of responses for the “Wiki” block must use a special format. To create the table:

  1. Add a column named name to the table.
    Note. If there are other columns in the table, they don't affect the response options in the “Wiki” block.
  2. Add several rows to the table. In cells in the name column, enter response options that must be available in the “Wiki” block.
  3. Put a link to the table in the “Wiki” block settings.

Create a table with response filtering

To create a table with response filtering:

  1. Add two columns named name and parent to the table.
    Note. If there are other columns in the table, they don't affect the response options in the “Wiki” block or the filtering.
  2. Add several rows to the table. In cells in the name column, enter response options that must be available in the “Wiki” block.
  3. Link each response option to a row in the parent table. That's the table specified in the parent “Wiki” block settings. To do this, 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 number 1 in the parent block, response options that have 1 specified in the parent column are available in the block with filtering.

  4. Put a link to the table in the “Wiki” block settings and turn on response filtering.