Field Validation
Input validation is the process of examining inputs and removing those that are considered improper. When users engage with websites or apps, they frequently provide input, such as filling out forms, entering email id, or providing payment information.
Storefront
Module Name | Field Name | Field Type | Minimum Value | Maximum Value | Format Allowed |
---|---|---|---|---|---|
Sign Up | Full Name | Text | 1 | 24 | Alphanumeric |
Text | 5 | 320 | Alphanumeric, Special Characters | ||
Password | Password | 12 | 64 | Alphanumeric, Special Characters | |
Mobile | Number | 10 | 10 | Number | |
Login | Text | 5 | 320 | Format: yourname@example.com | |
Password | Password | 12 | 64 | Alphanumeric, Special Characters | |
Mobile | Number | 1 | 10 | Number | |
Forgot Password | Username/Email | Text | 3 | 320 | Alphanumeric |
Change Password | Password | Password | 12 | 64 | Password must contain minimum of 12 characters and include at least one uppercase letter, one lowercase letter, one number, and one special character. |
Search | Search Product name | Text | 1 | NA | Alphanumeric, Special Characters |
Address | Customer Name | Text | 1 | 24 | Alphabets |
House Number | Text | 1 | 10 | Alphanumeric, Special Characters | |
Street | Text | 1 | 80 | Alphanumeric, Special Characters | |
City | Text | 1 | 60 | Alphabets | |
Locality | Text | 1 | 30 | Alphanumeric | |
Phone Number | Text | 10 | 10 | Numbers | |
Zip Code | Text | 6 | 8 | Alphanumeric | |
Payment | Card Number | Text | 16 | 16 | Numbers |
Expiration | Text | 4 | 4 | Numbers | |
CVC | Text | 4 | 4 | Numbers | |
Customer questions & answers | Post Question | Text | 1 | 150 | Alphanumeric, Special Characters |
Post Answer | Text | 1 | 150 | Alphanumeric, Special Characters | |
Search for frequently asked questions | Text | 1 | 150 | Alphanumeric, Special Characters | |
Product Review | Title Your Review | Text | 1 | 200 | Alphanumeric, Special Characters |
Write Your Review | Text | 1 | 500 | Alphanumeric, Special Characters |
note
There should not be any validations for current password field, except correct/valid data entry.