laravel-crm
laravel-crm copied to clipboard
When we create a web form and create a persons from here so in contact phone no. field is not taking validation, here added with letters also
Title:
When we create a web form and create a persons from here so in contact phone no. field is not taking validation, here added with letters also
Steps to Reproduce:
Step 1: Create a web form under settings option like this:
Step 2: Now create a persons from this web form with contact form add text instead of numbers:
Step 3: Now go to the admin panel under contacts -> persons option, here shows a text in phone no. coloumn:
Expected result:
If we have enter a text in phone no field then should be shown a warning like this:
The Contact Numbers field may only contain numeric characters
Actual result:
If we have added a text or characters in phone no field then web form submit without any warning shows.
PR https://github.com/krayin/laravel-crm/pull/1245
In web form page, The contact number field should only accept numeric values, and a validation message should appear if an alphanumeric or character value is entered.
Attached video/screenshot reference
https://github.com/krayin/laravel-crm/assets/163374765/c1a3699c-26f6-43f1-8bae-d067f2025165
because basic validation is added for now as no custom js is used,
not planning currently, create a separate issue as enhancement/feature