+ data-parsley-pattern="^[a-zA-Z0-9\s_-]+$"
+ data-parsley-pattern-message="Contact name can contain letters, numbers, spaces, underscore (_) and hyphen (-).">
@@ -213,7 +215,7 @@
@@ -456,7 +458,7 @@
if (!/^[a-zA-Z0-9\s_-]+$/.test(v)) return 'Branch Name can contain letters, numbers, spaces, underscore (_) and hyphen (-).';
return '';
case 'branch_code':
- if (!/^[a-zA-Z0-9_-]+$/.test(v)) return 'Branch Code can contain letters, numbers, underscore (_) and hyphen (-).';
+ if (!/^[a-zA-Z0-9\s_-]+$/.test(v)) return 'Branch Code can contain letters, numbers, spaces, underscore (_) and hyphen (-).';
return '';
case 'address1':
return '';
@@ -968,8 +970,8 @@
+ data-parsley-pattern="^[a-zA-Z0-9\s_-]+$"
+ data-parsley-pattern-message="Contact name can contain letters, numbers, spaces, underscore (_) and hyphen (-).">