Error messages can be easy to miss

Created on 10 September 2025, about 2 months ago

Problem/Motivation

It can be fairly easy to miss error messages that are added by the webform element to the webform.
In particular, if the visitor is scrolled down, then they might miss the error messages appearing nearer the top of the screen.
Webform provides a way to scroll to a particular element, and I'd suggest that this module should scroll to the error message element it adds in certain circumstances.

Steps to reproduce

Trigger a stripe error, by using an invalid card etc.

Proposed resolution

Use the webform scrolling library.

Remaining tasks

Implement the code, and review a MR.

User interface changes

Errors will be scrolled to.

API changes

None.

Data model changes

None.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom steven jones

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

Merge Requests

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