EzyShop is a user-friendly platform that connects you to local stores, offering a seamless shopping experience. Compare prices, access exclusive deals, and enjoy hassle-free deliveries for groceries, essentials, and organic products—all in one app.
The Name input field accepts invalid characters, allowing entries that are not alphabets.
The Email input field accepts capital letters and entries starting with numbers, which do not comply with proper email formatting.
Input validation needs to be implemented to restrict both fields to their respective valid formats.
Suggested Change
1.For the Name Input Field:
Character Restriction: Ensure the input only accepts alphabetic characters (A-Z, a-z) and possibly spaces or hyphens for names.
Feedback Mechanism: Provide real-time feedback to the user if invalid characters are entered (e.g., displaying an error message).
Placeholder Text: Use descriptive placeholder text to guide users on acceptable input formats (e.g., "Enter your full name").
2.For the Email Input Field:
Format Validation: Implement a validation rule that only accepts lowercase letters, numbers, and special characters allowed in email addresses (e.g., periods, underscores).
Starting Character Restriction: Ensure that the email cannot start with a number, enforcing proper email formatting.
User Feedback: Display error messages or prompts if the input does not meet the criteria, informing users of the specific formatting requirements.
@mdazfar2 sir, kindly assign me this issue under GSSOC'24 ext.
Is there an existing issue for this?
Issue Description
The Name input field accepts invalid characters, allowing entries that are not alphabets. The Email input field accepts capital letters and entries starting with numbers, which do not comply with proper email formatting. Input validation needs to be implemented to restrict both fields to their respective valid formats.
Suggested Change
1.For the Name Input Field: Character Restriction: Ensure the input only accepts alphabetic characters (A-Z, a-z) and possibly spaces or hyphens for names. Feedback Mechanism: Provide real-time feedback to the user if invalid characters are entered (e.g., displaying an error message). Placeholder Text: Use descriptive placeholder text to guide users on acceptable input formats (e.g., "Enter your full name").
2.For the Email Input Field: Format Validation: Implement a validation rule that only accepts lowercase letters, numbers, and special characters allowed in email addresses (e.g., periods, underscores). Starting Character Restriction: Ensure that the email cannot start with a number, enforcing proper email formatting. User Feedback: Display error messages or prompts if the input does not meet the criteria, informing users of the specific formatting requirements.
@mdazfar2 sir, kindly assign me this issue under GSSOC'24 ext.
Rationale
No response
Urgency
High
Acknowledgements