Can Mendix natively handle formatting phone numbers (including international calls)?
0
We are in the USA and creating a UI for an outreach application that requires phone numbers to be captured. We need to be able to handle both domestic (USA) and international phone numbers. Do we need to use regex and hack this, or is there functionality already available?
asked
Kathleen Buckwalter
2 answers
0
Hi Kathleen,
There are Appstore widgets that can help you with this, but I think a regex (that matches your business requirements) and isMatch() is the easiest way to go. You can find plenty online (eg https://www.regextester.com/17).