grav-plugin-form
grav-plugin-form copied to clipboard
Form type "Tel" doesn't work as accepted
Hello every one,
I made a form with some fields i.e phone number and set the type as Tel. After submit, the browser doesn't reject letters. Am I doing something wrong?


I believe it works as expected. Mainly, it adds a type="tel" to the html tag.
You probably want to add a validation pattern to disable letters.
Yes, but I thought it will do on it's own.