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.

Blank/Null Value for a related value list in a pop-up menu

Featured Replies

(I can't seem to find a definitive answer here after poking around, so I apologize if this has been covered before.)

 

I have a related value list that I'd like to use in a pop-up menu. The problem is, I always have to include an adjacent "clear" button to clear the field and it looks amateurish to say the least...so I'd like to have a null/blank value at the top of the value list so users can "clear" the field of an unwanted value.

I thought I'd be clever and try this:

Let (  

[    

_relatedValues = List ( fieldname );    

_blank = ""   ];  

_blank & ¶ & _relatedValues

)

 

...but that won't work because it being a calculation using related values, it can't be indexed. Is there an elegant way to make this happen?

 

Cheers,

Rich

1 hour ago, 21st Century Man said:

won't work because it being a calculation using related values, it can't be indexed.

It wouldn't have worked even with an indexed field, because a value list based on a field will never include a blank value.

 

1 hour ago, 21st Century Man said:

Is there an elegant way to make this happen?

You could define a calculation field in the related table that combines the "real" value with a placeholder, for example:

List ( Valuefield ; "   " )

Then define the value list to use values from this calculation field and (if necessary) make the target field auto-enter a calculated value substituting 3 consecutive spaces with nothing.

 

Edited by comment

  • Author

Thanks! I just have to remember to disable the "Do not store calculated results--recalculate when needed" checkbox in the calculated field for it the value list to work. *blush*

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.