Lack of interest Customizable error message for pattern fail case

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

stromb0li

Well-known member
When using the pattern attribute on a form option for validation, can you please add the ability to have a "pattern-message" or "pattern-error" attribute, so that an error message can be more meaningful for the end-user?

For example, today if the "pattern" match validation fails, the error doesn't give the end user any idea of what is wrong with their input.
1694408516192.png

Thank you!
 
Upvote 4
This suggestion has been closed. Votes are no longer accepted.
Yes... it should at the very least be giving a "hint" to the pattern matching required. Probably simple oversight in the validation processing.
 
Most folks won't know how to read regex so displaying the pattern match might be tricky. Using a defined string IMO would be most user friendly.
 
Back
Top Bottom