Bug 41636

Summary: Make sms_number_help text customizable
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: I18N/L10NAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: f.demians, gmcharlt, jonathan.druart, michael.adamyk
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Lucas Gass (lukeg) 2026-01-15 15:46:30 UTC
When adding/editing a patron there is a hint next to the SMS number field:

"Please enter numbers only. Prefix the number with + or 00 if including the country code."


That ins't always necessarily true. This should be an HTML customization.
Comment 1 Katrin Fischer 2026-01-17 12:45:56 UTC
Can you give an example on when this isn't true?
Comment 2 Michael Adamyk 2026-01-20 23:34:13 UTC
Twilio is a messaging provider that many libraries use. They require that the SMS number be in the following format: +11234567890. The Koha instructions are not necessarily incorrect, but they are a bit misleading. Currently we have to use jQuery if we want to clarify the instructions, such as this: 

$('#pat_memberentrygen .sms_number_help').text("Enter +1 followed directly by the ten-digit number (+11234567890)");
Comment 3 Michael Adamyk 2026-01-20 23:35:35 UTC
In a more general sense, since Koha's native Email to SMS is deprecated, libraries are moving to using third-party providers that sometimes have different requirements for number formatting.