I think that the field validation could be enhanced to produce custom output - #742344: Allow forms to set custom validation error messages on required fields - if this isn't possible already.

Would be great if we could use this module to produce more accessible validation messages.

Comments

g089h515r806’s picture

I have added a "required field" validator, which could set custom error message.
There is a issue, the required symbol "*" does not display when you use "required field" validator.

mgifford’s picture

g089h515r806’s picture

Now we have email, url, phone,color, numeric(html5) validators , which could do html5 validation work.

mgifford’s picture

Thanks!