ubuntu.com icon indicating copy to clipboard operation
ubuntu.com copied to clipboard

Feature parity with HTML5 client-side form validation

Open nottrobin opened this issue 7 years ago • 4 comments

In e.g. https://www.ubuntu.com/engage/iot-business-model, there is no client-side validation for the "Phone number" (type="tel") field.

We've turned off HTML5 validation with novalidate="novalidate", but then we don't implement our own validation for the "phone number" type="tel" field.

We should at least have feature parity with HTML5 validation for known filetypes. In this day and age, wouldn't it be possible to re-enable HTML5 validation and style it as we need? Or if not, we should implement feature parity.

nottrobin avatar Aug 24 '18 09:08 nottrobin

@anthonydillon is this something we can add to small tasks?

anasereijo avatar Apr 17 '19 15:04 anasereijo

@anasereijo yea sure but would say we might have enough the iteration.

anthonydillon avatar Apr 18 '19 18:04 anthonydillon

this was fixed with g-recaptcha work

pmahnke avatar May 21 '19 11:05 pmahnke

This issue still exists at https://www.ubuntu.com/engage/iot-business-model

nottrobin avatar May 30 '19 16:05 nottrobin

We have replaced telephone form fields with a module now.

anthonydillon avatar Dec 13 '22 22:12 anthonydillon