Question Types

Statement

The statement question type isn't really a question; it simply lets you present the user with a piece of text that they explicitly move on from.

Here's a simple example:

await form.statement('Thanks for subscribing to our newsletter', {
  description: "It's _great_ to have you!"
});

Which generates a page that looks like this:

Return Value

statement() returns null.

Options

No statement-specific options exist at this time. You can pass global options, which are valid for all question types.