Bug 41636 - Make sms_number_help text customizable
Summary: Make sms_number_help text customizable
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-15 15:46 UTC by Lucas Gass (lukeg)
Modified: 2026-01-20 23:35 UTC (History)
4 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.