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.

How to hide field name if field is empty?

Featured Replies

Hello,

I am trying to figure out this:

I have database with lots of people. When I am printing list of those people, in each person i have two field for telephone and two for mobile, like this:

Tel1: 111 111 111

Tel2: 111 222 222

Mobile 1: 123 123 123

Mobile 2: 321 321 321

what I would like to do, is to hide field name (Tel1, Tel2, Mobile 1, Mobile2) if the field with that telephone number is empty. Because now, my printed list seems like this:

Tel1: 111 111 111

Tel2: 111 222 222

Mobile 1: 123 123 123

Mobile 2: 321 321 321

--------

Tel1: 111 111 111

Tel2:

Mobile 1: 123 123 123

Mobile 2:

Thank you for any suggestions.

The first approach might be to create the labels into calculations

label_tel2 (text) = if( isempty(tel2) ; "tel2" )

but I recommend to create a new table for all those numbers and place a portal on the layout with the possibility to enter every number of numbers of any type.

-jens

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.