Enable WET-BOEW inline form validation for webforms

Created on 9 August 2025, 9 days ago

Problem/Motivation

A client requested to have WET-BOEW inline form validation available for webforms as seen here - https://wet-boew.github.io/v4.0-ci/demos/formvalid/formvalid-en.html

Steps to reproduce

Normally to get this to work you would have to override the webform.html.twig file in your custom theme to wrap the <form> element with <div class="wb-frmvld">. You would also need to adjust some field templates to get the label markup inline with WET-BOEW's JavaScript/CSS expectations.

Proposed resolution

Add a third-party setting to webforms via wxt_ext_webform, a simple checkbox to enable/disable per webform.

With this setting enabled on a webform, inline field validation works as expected.

Feature request
Status

Active

Version

6.1

Component

Code

Created by

🇨🇦Canada smulvih2 Canada 🍁

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024