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.

If(not IsEmpty) + TextStyleAdd = ?

Featured Replies

Hey guys,

I have a calculation: If(not IsEmpty(company); company)

How do I integrate the TextStyleAdd function with this calculation?

The first calculation is only one in a string of similar If(not IsEmpty) calculations which display a persons name, occupation, company, address, etc. on a contact overview page. Out of all this data I want to highlight certain fields like name and company but can't figure out how to mold the two together.

Thanks so much, any and all help will be greatly appreciated.

Best,

Rob

Rob,

On your contact overview page, why do you need so many If not isEmpty calcs?

Can you use a new calc text field that concantenates all the fields that you need? If you use List ( ), whatever is empty will drop out. Or a merge field?

But, to answer your question:

If (not isempty (company); TextStyleAdd (company, BOLD))

or

dsp_Contact =

List (

TextStyleAdd (ContactFullName, Bold);

Occupation;

TextStyleAdd (Company, Bold);

AddressFull_c

)

AddressFull_c =

List (

Addr1;

Addr2;

CitySTZIP_c

)

CitySTZip_c =

City & ", " & ST & " " & ZIP

Edited by Guest

  • Author

Th-th-th-th-thaaaaaaaaaank you!

:

  • Author

Uhm...quick follow-up question. Why is this not working for me:

TextStyleAdd (TextColor (company; RGB ( 255 ; 1; 1) ; Bold))

It says "To many parameters in this function" and point towards the ; before Bold. Based on my research this should be fine...

Thanks for any and all assistance.

R.

Try:

TextStyleAdd ( TextColor [color:red]( company ; RGB ( 255 ; 1 ; 1 ) [color:red]) ; Bold )

  • Author

Yes Yes Yes - Thank you.

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.