https://developer.mozilla.org/en-US/docs/Web/API/ValidityState
I am planning to use power of native 'pattern' attribute in inputs, also use valid attribute to detect validity of the inputs when submitting the e-form.