Skip to content

Commit 74e6c1d

Browse files
committed
39854: Update city validation error message to match allowed characters
1 parent e1a0556 commit 74e6c1d

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Customer/Model/Validator

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Model/Validator/City.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function isValid($customer)
4141
{
4242
if (!$this->isValidCity($customer->getCity())) {
4343
parent::_addMessages([[
44-
'city' => "Invalid City. Please use A-Z, a-z, 0-9, -, ', spaces"
44+
'city' => "Invalid City. Please use letters, numbers, spaces, and the following characters: - ' . , & ( )"
4545
]]);
4646
}
4747

0 commit comments

Comments
 (0)