Tuesday, 1 July 2014

Form Validation / Basic Checklist – Registration Form

1) Field Name => Username.

* Label should say “Username”.

* As soon as the page was loaded, cursor should be focus in the Username textbox.

* There should be a hint saying the min & max character.

* Min validation should be “3 Chars” and Max validation should be not more than “12 Chars”.

* It should be accepts only “Alphanumeric” and can contains “dot, underscore and hypen”.

* It should be unique.

2) Field Name => Email

* It should be unique.

* The max character length should not be more than “80 Characters”.

* Check for “.com, com.sg, co.uk, .co..lm, .comdfgdg, ..com”.

* Check for already existing email.

3) Field Name = Password

* There should be a hint saying the min character.

* It should not accepts single quotes, double quotes and slashes.

* If we copy and paste the password in notepad / wordpad, it should not paste it!

4) Field Name = Name

* It accepts only alphabets. Its better to restrict from keystroke!

* Max Character should not be more than 40-50 Characters. In case of First Name, max can be “20 Chars”…

* If the label says “Name”, it should accepts “space and dot”. If it says as “First Name”,

then it should accepts only “Alphabets”.

5) Field Name = Mobile

* Max should be not more than “12 Characters” including Country Code. Else, it

should be accept only 10 digits. It should not be able to enter more than the specified

characters.

* It should accepts only “Digits”.

* If it contains 10 Zeros, then, it should be invalid!

6) Field Name = LandLine

* Max should be not more than “15 Characters” including Country Code. It should not be

able to enter more than the specified characters.

* It should accepts only “Digits”.

* If it contains 15 Zeros, then, it should be invalid!

7) Field Name = DOB (Date of Birth)

* It can be 3 individual fields (D/M/Y) else would be better of having Calendar.

* It should never display the current date.

* It should be displayed only the date/age to select from “18″yrs.

8) All forms should have a “Terms & Conditions” link with a checkbox. If the form was submits

without selecting the checkbox, error msg should be displayed.

9) Its better to have a “Captcha” in every “Registration Form”.

10) Its better to have some “Subscription” links in the “Registration Form”.

11) After Successful register, user should receive a “Welcome” mail to the given email.

12) Its better to have a “Confirmation Link” in the email for valid registration.

13) Check for tab navigation.

14) Check for Enter key validation.

15) Check for Blank Space validation.

No comments:

Post a Comment