We are currently migrating from a Matrix v4.12 system to a Matrix v5.1 and I've come across an odd behaviour in Custom forms. In the Page Contents, after a form is submitted, the %form_errors% keyword replacement does not seem to be doing anything.
Newer keyword variants, such as %form_errors_message% and %question_error_xxx_qyy% are working fine - this is how I'm confirming there are actually submission errors.
Ordinarily I would use the error message on the individual question (one of the newer keywords and is working), however this is an old form that has been mirrored across and is quite complicated. I'd prefer to not have to re-write it. Manual indicates the keyword should be working.
It is intended due to the errors now being printed next to each question, otherwise you would have repeat error messages. You can use the keyword for showing a message indicating there were errors on the form if you want to print a generic error message at the top all the time.
Hi Tim, there is already a note on the manuals against this keyword:
"This will show any errors the user may have received when they click the submit button. On the default layout these errors appear at the bottom of the page. When using the Page Contents Bodycopy you may want to show them at the top of the page. Please note that when the Accessible Format option is enabled, form question and CAPTCHA errors will be displayed next to their corresponding fields. General form errors, however, will continue to be displayed on this keyword."