# How to disable the enforced phone format?

**URL:** <https://www.dolibarr.org/forum/t/how-to-disable-the-enforced-phone-format/31342>\
**Category:** CRM/SRM Modules\
**Created:** [September 25, 2026, 8:37am UTC](https://www.dolibarr.org/forum/t/how-to-disable-the-enforced-phone-format/31342 "2026-09-25T08:37:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gurksallad](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/g/9d8465/32.png) [@gurksallad](https://www.dolibarr.org/forum/u/gurksallad)\
**Post date:** [September 25, 2026, 8:37am UTC](https://www.dolibarr.org/forum/t/how-to-disable-the-enforced-phone-format/31342/1 "2026-09-25T08:37:38Z")

</div>

After upgrading from V23 to V24 we are now enforced to enter phone numbers in a format we do not want. For six years we have entered in the format 0XXX-YYYYYYYY, but now Dolibarr is enforcing to enter as 0XXXYYYYYYYY which in turn gets converted to +46XXXYYYYYYYY.

We don’t want this. What setting do we change to turn that off?

 ![doliphone](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/2/2d220f5b82869d9b73a5bd49da74466e721de770.png)

---

<div class="post-metadata">

**Author:** ![jonbendtsen](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jonbendtsen](https://www.dolibarr.org/forum/u/jonbendtsen)\
**Post date:** [September 27, 2026, 7:44am UTC](https://www.dolibarr.org/forum/t/how-to-disable-the-enforced-phone-format/31342/2 "2026-09-27T07:44:57Z")

</div>

If you look for the PR that made this change, perhaps you can see if there is a workaround

[https://github.com/Dolibarr/dolibarr/pulls](https://github.com/Dolibarr/dolibarr/pulls)
