ke Technical Documentation
Tuesday, March 15, 2011 Format Phone Number
The phone number format function is used to display the phone number in a more readable way. The phone number format function is as follows:
Function format: |FORMAT_PHONE_NUMBER(phone_number)| , where:
- phone_number - the phone number (hardcoded or taken from tha database)
- PHONE_NUMBER_STANDARD - (000) 123 -1234
- PHONE_NUMBER_DASH_ONLY - 000-123-1234
Example:
Hardcoded:
|FORMAT_PHONE_NUMBER(1234567890)| - formats a hardcoded phone number
Field:
|FORMAT_PHONE_NUMBER()| - formats a saved phone number from the database