Web form – is a set of fields, lists and radio buttons after completing and sending which, users gain access to the particular site functionality or information and perform certain actions or leave personal data on the resource.
Since users interact with different forms quite often, the crucial moment for internet resources is the usability of filling out these forms. There are many approaches to create feedback between users and web form during its completion. For example, after invalid filling in form fields, a user should receive a message indicating mistakes made and tips for correcting them.
Errors can be displayed to users in two ways:
- after submit validation (validation after submitting data);
- inline validation (integrated validation/after losing the focus).
After submit validation is common enough, but it is not the best option. Using this method, a user fills in all form fields and sends data to the server by clicking the submit button. Then, data is validated on the server, and only after that the result is shown on the user screen in the form of an error message. In this case, the form completion process can take more time than the user expects. One will need to correct all mistakes made and send the form again, but there is no guarantee that the user will not make them again.