Skip to main content

IEpilogue interface

📖 Description​

Interface that describes the properties to define a form epilogue within a form definition. An epilogue can be used by runners (that support it) to show a closing message when a form is completed.

📃 Type declaration​

interface IEpilogue {
  title?: string;ReadonlyOptional
  description?: string;ReadonlyOptional
  image?: string;ReadonlyOptional
  video?: string;ReadonlyOptional
  button?: {
    label: string;
    url: string;
    target: "self" | "blank";
  };ReadonlyOptional
  repeatable?: boolean;ReadonlyOptional
  redirectUrl?: string;ReadonlyOptional
}
🖱ī¸ Hover with the mouse over a property name for a tooltip with the description of that property. Click it for more information.

🗃ī¸ Properties​


🏷ī¸ button​

Specifies an optional button with a hyperlink to show.

Type​

{
/* Specifies the label for the button. */
label: string;

/* Specifies the URL for the button. */
url: string;

/* Specifies if the button should open a new window/tab. */
target: "self" | "blank";
}

🏷ī¸ description​

Specifies the description (supports markdown).

Type​

string


🏷ī¸ image​

Specifies the URL of an image to show.

Type​

string

tip

It is possible to embed images using Base64 encoding.


🏷ī¸ redirectUrl​

Specifies an URL to redirect to when the form ends.

Type​

string

warning

When this property is used, all other properties are ignored.


🏷ī¸ repeatable​

Specifies if the form is repeatable. If set to true a button will be shown to start a new form session.

Type​

boolean


🏷ī¸ title​

Specifies the title (supports markdown).

Type​

string


🏷ī¸ video​

Specifies the URL of a video to show. Currently, YouTube and Vimeo are supported. The shareable URL of the video needs to be supplied.

Type​

string