On 8/14/2023 at 8:26 AM, AddWeb Solution said:Hi,
Try this:
In /js/validate.js file,
function validate_isPhoneNumber(s) { var reg = /^[0-9]{9}$/; return reg.test(s); }In /classes/Validate.php
public static function isPhoneNumber($number) { return preg_match('/^[0-9]{9}$/', $number); }Once you made the above changes, Clear the cache and check If it works!
Thanks!
Thank You for idea but it still not working after making changes and clear cache.