The community is working on translating this tutorial into Russian, but it seems that no one has started the translation process for this article yet. If you can help us, then please click "More info".
Form validation using HTML5
The fields in a form are there to gather information from your visitors, but no matter how much time you spend setting up your form there is going to be at least some of your visitors who gets confused filling out your form, might skip important parts of your form, type invalid values (who has ever heard of an email address with a space in it?) and the result? They click submit and you end up getting a whole lot of more or less useless data.
And this is where validation enters – if you validate your inputfields before the data is sent to your inbox or database, then the visitor gets a chance to correct the data and this means that the chance of you getting the data you actually asked for, improves.