Flash Messages

On this page

Overview

Upon a successful submission of a form, the browser gets redirected back to the page. Through liquid, the following feedback can be retrieved.

Below you can see all the available drops on the flash object


Name Description
flash.notice Form notice messages
flash.alert Form error messages
flash.all All kind of form messages


Each of the previous methods can return a string or an array, depending on the actions and errors. An example of code that would work in any of these cases would be:

<p>{{ flash.alert | join: '</p><p>' }}</p>

Updated: 2020-11-17