Jump 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.

Formating SSN that start with zero

Featured Replies

  • Newbies

I am using a calculation with a field mask to display a SSN properly formatted. I have found that SSN begining with zero do not format properly and a number is added in (ex.012346789 displays as 123-46-6789) What am I doing wrong here?

SSN field is formated as text

SSN Mask field is formated as a Calculation with calculation result being text (this is the only way I didn't get some funky formula while tabbing through the record), and the calculation is.

Left(Abs(SSN), 3) & "-" & Middle(Abs(SSN), 4, 2) & "-" & Right(Abs(SSN), 4)

Thanks in advance!!

I'm not sure why you used the abs() function, but I suggest making a text field version of the SSN with leading zeroes added like this:

cTextSSN = Right("000000000" & Substitute(NumToText(SSN),"-",""), 9)

Then your formatted SSN will be:

Left(cTextSSN, 3) & "-" & Middle(cTextSSN, 4, 2) & "-" & Right(cTextSSN, 4)

Create an account or sign in to comment

Important Information

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

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.