FIX_POLICY_TYPE_VALIDAION
This commit is contained in:
parent
1b236ce376
commit
0d8418259d
@ -517,7 +517,7 @@ class LeadsController extends BaseController
|
|||||||
'regex_match' => 'Date of Loss must be inValid format.'],
|
'regex_match' => 'Date of Loss must be inValid format.'],
|
||||||
];
|
];
|
||||||
$rules['first_cause_of_loss.*'] = [
|
$rules['first_cause_of_loss.*'] = [
|
||||||
'rules' => 'required|regex_match[/^[a-zA-Z0-9\s_-]+$/]',
|
'rules' => 'required|regex_match[/^[a-zA-Z0-9 _-]+$/]',
|
||||||
'errors' => [
|
'errors' => [
|
||||||
'required' => 'Cause of Loss is required.',
|
'required' => 'Cause of Loss is required.',
|
||||||
'regex_match' => 'Cause of Loss only letters, numbers, space, hyphens and underscores are allowed',
|
'regex_match' => 'Cause of Loss only letters, numbers, space, hyphens and underscores are allowed',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user