I’ve provided two discussions about Validation Page that need to be responded separately.
Validations should be included in the Login page to avoid user providing any kind of input and also to display user-friendly error messages to make the user understand the exact which is blocking the form submission. There are a few important validations which should be included.
1) Check for Empty input in a User name or Password field :
2) Username should accept alphanumeric characters: User may provide a user name which is a combination of numbers and characters. If the input field accepts the only character, then the form cannot capture complete username. Validation should be added to ensure form accepts alphanumeric characters
3) Password and Repeat Password fields should match: In the registration page, the user may create own password. However, the user might provide different values in Password and Repeat Password. Validation should be in place to ensure both the fields match.
4) Email ID format for Registration page: Validation should be in place to ensure that email id provided by the user is in the correct format. Else user may provide a dummy value for email id and this may lead to fake registrations.
D-2)Importance of Validations on Login and Registration Pages
Form validation is important on login and registration pages as it helps us to ensure that users fill out forms in the correct format, making sure that submitted data will work successfully with our applications.
The importance of validations are described as follows:
Examples of when you might not need validations:
Form validation are commonly bypassed or constraints are reduced in the registration pages where server side validations are used evaluate user inputs. When cardinality of input fields are not known and all input data is required to capture, like designation, role etc.
Ferdinandi, Chris (2017, Jun 26). Form Validation Part 1: Constraint Validation in HTML.
Syronex(2019). Form Validation. Retrieved from https://formsmarts.com/form-validation