Required fields don’t have “required” attribute
-
I can see that your documentation on “required” fields resides here:
https://contactform7.com/text-fields/
However there is no mention of the
required
attribute which would allow the browser to force required fields be filled before the form is submitted.Currently this attribute is not present, and if the field isn’t labelled as required, the user must wait for the Ajax response before finding out the field is required.
This seems pretty old fashioned. In 2022 I would expect to have the native
required
attribute on required fields in my forms, regardless of whether the form submits via Ajax.
- The topic ‘Required fields don’t have “required” attribute’ is closed to new replies.