System Messages

By default, all form are validated on FLEX. To get access to the success or error prompts, you can call the output tag “system_message”. The system message will return either a system failure or a system success message.

Success and error messages are contained in their own spans. Each has a unique class to target the styling. An error message adds a class called ‘error-message’ and conversely, a success message adds a class called ‘success-message’.

{system_message}
{% form "login" %}
      <input class="button" type="submit" value="Login" />
{% endform %}

Start your free, no-risk trial today.