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.

Removing null values in script

Featured Replies

  • Newbies

I have a list of 30 fields that is generated from a database. However, there are not always 30 fields, usually around 15. When I print it for a label, I only want the fields in use to print, not all 30. How do I do this with the script manager? Thanks.

See if this doesn't help.

Link

BTW, this is a Layout Feature, not a ScriptMaker.

HTH

Lee

Edited by Guest

If you want a more custom approach you could create Calculation field to assemble the list for you. And display that on the label.

Example:

Field1 = John Doe

Field2 = CEO

Field3 =

Field4 = CyberNet


If (IsEmpty (Field1); "" ; Field1) &

If (IsEmpty (Field1); "" ; ¶ ) &

If (IsEmpty (Field2); "" ; Field2) &

If (IsEmpty (Field2); "" ; ¶ ) &

If (IsEmpty (Field2); "" ; Field3) &

If (IsEmpty (Field3); "" ; ¶ ) &

If (IsEmpty (Field4); "" ; Field4

Result:

John Doe

CEO

Cybernet

I use sometimes when I need to be able to control what lines data appears on...like if you wanted to combine lines of data.

You could also achieve a similar result using a custom function or like Lee said, depending on exactly what you are doing.

  • Author
  • Newbies

Worked perfectly, thanks!

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.