

Create a script for a script-trigger to format the phone number as you type:.Make sure that the “Do not replace existing values” is unchecked. In Field Options, set the field as a Calculated value of the custom function and pass in the field itself as a parameter.

Create a custom function to format the phone number field after some text has been entered by a user:.Level: Beginner What you’ll need: a basic understanding of layouts and custom functions TLDR Or, if you don’t feel like learning, just scroll down and swipe the code. Read on for a step-by-step walkthrough on how to create and implement this yourself! Lucky for us, this is a quick and easy DIY project, and a great chance to expand your knowledge of functions and script triggers. FileMaker offers a plethora of premade tools to organize and display data, so it may come as a surprise to many new developers that there are no native functions built in for phone number formatting.
