2
I’m a little worried about using HTML5 Form Validation because despite the simplicity of implementation for some browsers, mainly Ios and Safari support is partial as seen here.
In my current project (which I am implementing Form Validation) the need is that all forms have to be validated correctly in all major browsers of the market, and the simplicity of implementation (which does not require any javascript) I would like to be able to implement only HTML5 Form Validation for Client-side validations. The question is: should I? considering that some browsers provide only partial support (what does this mean exactly?), my fear is that in any of these browsers the mandatory completion is not required due to lack of browser support.
Note: the doubt is not a question of security, but of support in the main browsers, considering a scenario where only the HTML5 Form Validation is implemented, without another type of validation through javascript.
Note 2: consider only browsers in their most current versions.
But whereas some browsers only offer partial support for the HTML5 Validation Form as seen in the link presented?
– Rafael Alexandre
@Rafaelalexandre That is why validation by Javascript is indispensable. You should always have in addition to Form Validation, a validation by javascript before sending the data to the server.
– Matheus
So I can’t be sure only in the HTML5 Validation Form for Client-side validations.
– Rafael Alexandre
@Rafaelalexandre No, because the user can manipulate html. In a practical example, where the input is assigned with "required". If removed by specifying element, the field is free to send no data to the server.
– Matheus
Yes, but my question is not exactly about security, but about support. I’m wondering if there are browsers, like Safari Ios that offers partial support, where the implementation will no longer work.
– Rafael Alexandre