Hi evryone,
On prestashop 1.7.6, french, i have to made some overide ( or in core)
For link to business soft i need to allow Number in FIRST NAME and LAST NAME.
I find some trick who explain this:
Change Validate.php or change customer .php
I try to remove some characters validate .php in line 182
public static function isName($name) { $validityPattern = Tools::cleanNonUnicodeSupport( '/^(?:[^0-9!<>,;?=+()\/\\@#"°*`{}_^$%:¤\[\]|\.。]|[\.。](?:\s|$))*$/u' );
To :
public static function isName($name) { $validityPattern = Tools::cleanNonUnicodeSupport( '/^*$/u' );
But i still the same I can't creat new user with only number
I try this action:
, as not well Blank screen ...
I have to made a restore a backup...
Does anyone now solution on prestashop 1.7.6.1?
thx for answer 🙂