FIX_LIVE_ISSUE
This commit is contained in:
parent
d528390d1b
commit
213db5aa10
@ -996,14 +996,14 @@ class PolicyTransactionController extends BaseController
|
||||
'pos_id' => ['label' => 'POS', 'rules' => 'permit_empty', 'errors' => []],
|
||||
'doc_name.*' => [
|
||||
'label' => 'Policy Document Name',
|
||||
'rules' => 'permit_empty|regex_match[/^[a-zA-Z0-9 _-]+$/]|min_length[2]|max_length[100]',
|
||||
'rules' => 'permit_empty|regex_match[/^[a-zA-Z0-9 \/_-]+$/]|min_length[2]|max_length[100]',
|
||||
'errors' => [
|
||||
'regex_match' => 'The {field} can only contain letters, numbers, spaces, dashes, and underscores.'
|
||||
]
|
||||
],
|
||||
'other_docs_name.*' => [
|
||||
'label' => 'Vehicle Document Name',
|
||||
'rules' => 'permit_empty|regex_match[/^[a-zA-Z0-9 _-]+$/]|min_length[2]|max_length[100]',
|
||||
'rules' => 'permit_empty|regex_match[/^[a-zA-Z0-9 \/_-]+$/]|min_length[2]|max_length[100]',
|
||||
'errors' => [
|
||||
'regex_match' => 'The {field} can only contain letters, numbers, spaces, dashes, and underscores.'
|
||||
]
|
||||
@ -2670,7 +2670,7 @@ class PolicyTransactionController extends BaseController
|
||||
'co_share_id.*' => ['label' => 'Record ID', 'rules' => 'permit_empty','errors' => []],
|
||||
'doc_name.*' => [
|
||||
'label' => 'Policy Document Name',
|
||||
'rules' => 'permit_empty|regex_match[/^[a-zA-Z0-9 _-]+$/]|min_length[2]|max_length[100]',
|
||||
'rules' => 'permit_empty|regex_match[/^[a-zA-Z0-9 \/_-]+$/]|min_length[2]|max_length[100]',
|
||||
'errors' => [
|
||||
'regex_match' => 'The {field} can only contain letters, numbers, spaces, dashes, and underscores.'
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user