Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Formatting phone numbers

Featured Replies

I'd like to format phone numbers in the following way:

 

landline +12 1234 5678

 

cell/mobile (strip leading zero) +12 123 456 789

 

Any ideas how this could be achieved?

 

thanks

I use  this custom function   http://www.briandunning.com/cf/391

 

with a dropdown field shown below

 

US= #-###-###-####
US= #-(###) ###-####
US= #.###.###.####
AU= (##) #### ####
AU= #### ### ###
AT= ##### ####
BE= (##)### ####
BR= (##) ####-####
CA= (###) ###-####
CH= ### ### ## ##
CL= # ### ####
CN= (###)########
CN= (####)########
CZ= ### ### ###
DK= #### ####
DE= ###/#######
ES= ### ### ###
FI= ## #### ####
FR= ## ## ## ## ##
GB= ### #### ####
HK= #### ####
IN= ### #### ####
JP= (##) ####-####
KE= ### #######
LI= ### ## ##
NL= (###) #######
NL= (####) ######
NZ= (##) ### ####
NZ= ### ### ###
NO= ## ## ## ##
PL= ## ### ## ##
PT= ### ### ###
RU= (###) ###-##-##
SE= ##-### ### ##
TH= # #### ####  
TH= ## #### ####
TW= (##) ###-####
TW= (##) ####-####
 

Hi Bob,

 

Your profile shows that you only have the Client version so you can not work with Custom Functions. However, some times you can just past the functions in your Calculation and it will work, unless the are recursive. Instead, check out the demo files at databaselpros

  • Author

Thanks both of you for the feedback and resources. This will save a lot of time and its great to learn tricks along the way.

 

I'm working temporarily for a NGO that uses FileMaker Advanced, but I may also need to work on standard FileMaker in the future.

 

I haven't developed in FileMaker for about 10 years but its like catching up with an old friend.

Once you use Advance, you will have a hard time going back to client. :(

I'm with Lee on this. Ya can't go back. I can't imagine. I don't even remember all the differences and take for granted things like custom menus. Imagine designing without them!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.