Allow hiding errors summary at top of the form when using inline_form_errors

Created on 21 December 2022, over 2 years ago
Updated 23 October 2023, over 1 year ago

Problem/Motivation

In certain cases we want to disable/hide the summary messages displaying above the form, each message tag linking to the respective field's error message, while using the inline_form_errors module.

Steps to reproduce

Enable inline_form_errors module. Enable it in a webform. The module will add form validation below the error fields and also a error summary above the form.

Proposed resolution

Hide the message summary block and allow only inline form validation error messages, by adding a custom class to the block through the patch.

Remaining tasks

Give display:none in CSS to the custom class to hide the block.

Feature request
Status

Needs work

Version

11.0 🔥

Component
Inline form errors 

Last updated 3 days ago

Created by

🇮🇳India aayushi.kachhwaha

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024