How do you perform form validation without JavaScript?
You can achieve this by adding a pattern attribute to the ‘Name’ field, setting it’s value to the regular expression we want the data to be compared against. When using the pattern attribute, the ^
Commentaires récents