Suggestion Prompt

Suggestion Prompt

A call to action that presents the user with suggested responses to a question

SuggestionPrompt accepts two optional parameters:

  • optionsUnderline (“true” or “false”) - when set to true, the options include an underline.
  • lang (string) - sets the language label for the suggestion prompt for accessibility purposes. Defaults to the language of the endpoint, or “en” if it is unavailable.

The SuggestionPrompt itself contains a list of options which have the suggested response set as the title parameter.

An example of SuggestionPrompt markup is:

Last updated on