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.

Pull field value based on dropdown selection

Featured Replies

Hi there,

 

I have a contact database table as part of a larger solution that I am building and am trying to achieve the following:

 

I have a dropdown box with "Business" and "Individual" and a field called "display name". I am trying to make a calculation that pulls either the business name or an individuals name based on what is selected in the dropdown box.

 

Does anyone have any ideas? I have tried a few variations to no avail.

 

Best regards,

 

Tim

Hi Tim and welcome to the forum,

 

Don’t you mean drop-down list or menu

What’s the purpose of the calculation result?

It seems unusual that you would have a drop-down menu or list again and need to calculation field too. Unless, you were going to display this  calculation result in a different  field or Table Occurrence.

 

Lee

I have a dropdown box with "Business" and "Individual" and a field called "display name". I am trying to make a calculation that pulls either the business name or an individuals name based on what is selected in the dropdown box.

 

Does anyone have any ideas? I have tried a few variations to no avail.

 

I am not sure why you're having problems with this - it seems pretty trivial. Make Display_Name a calculation field (result is Text) =

Case ( Type = "Business" ; Business_Name ; Individuals_Name )

where Type is the drop-down field.

 

 

 

If this is for display only, you could simply put both source fields on top of each other.

  • Author

Hi Lee & Comment,

 

Thank you both very much for your responses to my post. I have adopted Comments solution and thats doing exactly what I need. 

 

Best regards,

 

Tim

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.