Problem/Motivation

For some reason, a novalidate is added last in the <form> element, so the browser validation is bypassed, and empty required fields are not caught in the browser, but get sent to the server for validation.

Validation: Disable client-side validation for all webforms?

... is disabled both for the form and globally.

I have tried to reproduce it in a separate installation, and failed. These are the versions and set up:

  • Drupal 11.4.13
  • PHP 8.4.27
  • Theme: Bootstrap5 subtheme
  • CAPTCHA + Riddler used

Perhaps someone can share where novalidate is added in the code, and maybe even some debugging tricks, so I can try to figure out myself how to reproduce it? Thanks!

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

ressa created an issue. See original summary.

liam morland’s picture

Version: 6.3.1 » 6.3.x-dev