Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character Validation for Warehouse and Quotes Address Fields #1915

Open
ashishkumar-webkul opened this issue Dec 30, 2024 · 1 comment
Open

Comments

@ashishkumar-webkul
Copy link
Collaborator

Title:
Character Validation for Warehouse and Quotes Address Fields

Description:
The Warehouse and Quotes Address fields currently lack character validation. This allows users to input unsupported or invalid characters, which could lead to data inconsistencies or application errors. Character validation rules need to be added to ensure data integrity and improve user experience.

Steps to Reproduce:

  1. Navigate to the Warehouse or Quotes Address form.
  2. Input special characters, numeric values (if unsupported), or excessively long text in the address fields.
  3. Save or submit the form.
  4. Observe the behavior and any errors caused by invalid inputs.

Expected Result:

  • The fields should accept only valid characters, such as alphanumeric values, spaces, and supported symbols (e.g., commas, hyphens).
  • Users should receive a clear error message if unsupported characters are entered.

Actual Result:

  • The fields currently accept all characters without validation, potentially causing errors during processing or display.

Suggested Solution:

  • Define and implement a validation pattern for the Warehouse and Quotes Address fields.
    • Example: Alphanumeric characters, spaces, commas, hyphens, and a reasonable length limit.
  • Add client-side and server-side validation to ensure consistent enforcement.
  • Display user-friendly error messages when validation fails.

Priority:
High

Attachments:

https://prnt.sc/rShq-YKlrHEs
https://prnt.sc/VC0MGBOLSFdO

amit-webkul added a commit to amit-webkul/laravel-crm that referenced this issue Jan 2, 2025
@ashishkumar-webkul
Copy link
Collaborator Author

Checked and found that the address validation issue has been fixed. Please check the video for reference.

Video

Proper.address.validation.added.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants