Form Flash Messages

Last updated on June 26, 2024.

Flash messages are used to create notices and alerts, e.g. on form submission.

Important

You can use the Instance Admin to create flash messages and alerts for your forms. Please refer to the Form Builder Alerts and Security documentation for more details.

Setting form notice or alert values in the form

You can add values for messages as part of a form configuration, for example:

Interpolation

Values for keys are processed using a Liquid parser so that they can be interpolated in the context of the current form:

Note

Quotes around the value are required to interpolate Liquid code inside YAML.

Displaying flash messages

Messages can be displayed on a page using the context variable.

Have a suggestion for this page?

Didn't quite find what you are looking for or have feedback on how we can make the content better then we would love to hear from you. Please provide us feedback and we will get back to you shortly.