aamodtgroup / frontity-contact-form-7

Contact Form 7 extension for Frontity.
https://frontity-cf7.aamodtgroup.com/
GNU General Public License v2.0
10 stars 4 forks source link

Invalid input styling #16

Closed brynzovskii closed 2 years ago

brynzovskii commented 2 years ago

At the moment the span with a error is added under the invalid input but no indication to the input itself. Let's say I need red outline instead of showing text under. The original form adds a wpcf7-not-valid class to the input and area-invalid set to true that can be used for styling as well. The package does not trigger the area-invalid attribute be set to true once the validation is required. image

1.0.0-canary version is used.

Any idea how to handle that? Thanks in advance.

kasperaamodt commented 2 years ago

I will check this out.