@@ -, +, @@ +AAAXXXXXXXXX in this case. (Note : +AAA and 00AAA are mutually exclusive). SMSSendDriver syspref is also set up with your SMS plugin of choice. number with the format 00 AAA XXXXXXXXX (ie : 00111123456789). Try to save the modification : you should have an error message. 111123456789), that one should be accepted. that format should not be accepted: this is intentional. Thanks-to: Didier Gautheron --- koha-tmpl/intranet-tmpl/prog/js/members.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/js/members.js +++ a/koha-tmpl/intranet-tmpl/prog/js/members.js @@ -225,7 +225,7 @@ $(document).ready(function(){ $.validator.addMethod( "phone", function(value, element, phone) { - let e164_re = /^(\+[1-9]\d{0,2})?\d{1,12}$/; + let e164_re = /^((\+?|(0{2})?)?[1-9]{0,2})?\d{1,12}$/; let has_plus = value.charAt(0) === '+'; value = value.replace(/\D/g,''); if ( has_plus ) value = '+' + value; --