Skip to content

Webform validation message not clear when duplicate phone number is entered in Krayin CRM #2142

Open
@sagarkumar-webkul

Description

@sagarkumar-webkul

Bug report

Title

Webform validation message not clear when duplicate phone number is entered in Krayin CRM

Issue Description

In Krayin CRM, while submitting a webform, if a user enters a phone number that already exists, the error message displayed is "value already exists". This message is unclear, does not mention the specific field causing the issue, and is not properly visible on the form.

Preconditions

1. Framework Version: 
2. Commit ID: 
3. A webform should already be created
4. At least one lead should already exist with the phone number to be tested

Steps to reproduce

1. Log in as admin
2. Go to Settings
3. Click on "Webform"
4. Fill the form using a phone number already present in an existing lead
5. Submit the form

Expected result

  • A clear and specific error message should be shown, such as: "Phone number is already in use"
  • The validation message should be shown next to the related field
  • The error should be visually visible and user-friendly

Actual result

  • "value already exists" message appears
  • No indication of which field caused the error
  • The validation message is not visible on the form

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions