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

Created on 21 December 2022, over 1 year ago
Updated 23 October 2023, 11 months 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 about 1 month 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.

  • The Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

    Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.

    Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.

  • Status changed to Needs review 11 months ago
  • last update 11 months ago
    30,426 pass
  • 🇮🇳India Gauravvv Delhi, India

    I have hidden the message summary block and allow only inline form validation error messages by using hidden class. please review

  • Status changed to Needs work 11 months ago
  • 🇺🇸United States smustgrave

    Believe this will need test coverage

Production build 0.71.5 2024