Invalid Field Indicators on Submit Attempt 🧪
Here's an example in which the invalid indicators only appear when the submit is attempted.
Invalid fields "shake"
And finish with a red outline
Attributes
wfu-form-validate-type = shake
on the form
wfu-form-validate-field
Used to identify a group
Usage Notes
In general, the label and field need to be grouped so that they can "shake" together.
Example
Notes
Some field types like tel
behave a bit differently;
Special input on mobile devices
The
pattern
requirement is ignored or handled differently, it won't trigger validation
We handle this as a secondary validation in SA5
Last updated
Was this helpful?