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.

Print Script

Featured Replies

This might be a bizarre question but I'll try it out nonetheless:

I have a layout we print quite a bit. The primary key is the SSN but we've slowly been moving to a new system where it's a 9 digit number but begins with a 9. So, new identifiers look like this 9xx-xxx-xxx.

Is there a way when printing the form to control whether or not the SSN prints or not? If the field contains the new identifier (9xx-xxx-xxx) we want it to print but if it doesn't we would prefer it not print at all.

thanks.

Hi

create a new calculation field, SSNtoPrint:

Case(

lenght(SSN) = 9 and Left(SSN;1) = 9 ; SSN

)

and put this field in the form to print.

Length in not going to really help you in this case since even if you use a filter for numbers, the difference can be just the location of the dash or typos.

Try this instead:


Let ( [ f= SSN;

        x= Substitute ( f; [0;"^"]; [1;"^"]; [2;"^"]; [3;"^"]; [4;"^"]; [5;"^"]; [6;"^"]; [7;"^"]; [8;"^"]; [9;"^"] ) 

      ]; 

        Case ( x = "^^^-^^^-^^^" and Left (f; 1) =9; f )

     )



It would have been better to enter the new ID number into a separate field. In any case, it seems that a string that begins with "9" cannot be a valid SSN, so

Case ( Left ( SSN ; 1 ) = "9" ; SSN )

should suffice.

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.