New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Allow access to content within Form {{errors}} array. #792

markzegarelli opened this Issue Jun 30, 2016 · 1 comment


None yet
4 participants

markzegarelli commented Jun 30, 2016

Steps to reproduce

  1. Add a Form
  2. Add an {{errors}} block at the top.
  3. Submit a form with an error.

Expected behaviour

I should be able to use something like {{value:handle}} to get the handle of the field with the error. I could use this to add an error class to the specific field. For example company.

Actual behaviour

A simple string is output. For example: The Company field is required.

Server configuration

Statamic version:


This comment has been minimized.

mikegraham00 commented Nov 14, 2016

Seconding this FR. Something similar was possible in V1, if I recall correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment