+813-444-3589+44 118 328 3220+49-231-976765-0 | Contact us


This structure is returned after submission of a form. If errors occurred (e.g. bad email address), it contains exact details about the kind of the error. This structure is usually used in combination with the default_errors filter. The following fields are supported:

Variable names Object Description Note
errors List<string> This field contains a list of error message handles. The handle of an error is always the same, not depending on the selected language. Therefore you are able to use these error message handles to check specific conditions after submitting a form.  
messages Dictionary<string, string> This dictionary translates a error message handle into a clear error message text (in the selected language). So basically you could use the handle to access the error message, e.g.  {{ form.errors.messages[form.errors.errors[0]] }} will output the first error message (if errors has at least one element).