Change record status: 
Project: 
Introduced in branch: 
8.8.x
Introduced in version: 
8.8.0-alpha1
Description: 

Disable the Inline Form Errors summary.

Before

It was not possible to disable the duplicate messages from summary and inline-error elements.

After

Set the #disable_inline_form_errors_summary property to TRUE on the top level of the $form array.

$form['#disable_inline_form_errors_summary'] = TRUE

Example use case

In certain cases we want to disable duplicate messages (on top - summary - and inline).

Warning

Keeps the message in the summary for fields which can't show inline-error (Eg. invisible elements, missing elements, ...).

There may be some field that does not display the inline error, so the message is only visible in the summary. As an example, the Captcha field.

Impacts: 
Module developers
Themers