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.

Can a value list use BOTH "custom values" and "values from field"?

Featured Replies

I would like to create a value list that lists all the records for one table (values from a field) AND also includes "Add New" and a seperator at the top of the list (custom value). If someone chooses "Add New" I'll have a script that runs.

Can this be done??? Thanks in advance!

Rarely can something flat out NOT be accomplished in FM. However, to take what you say literally, no, you cannot have a value list based on values from a field and have the ability to select Add New from the value list. However, you can have an Add New button near the value list, that'll take the user to the table and create a New Record. This can be done in a popup window.

value lists are often used to populate foreign key fields. I rarely create value lists that are from values in a field (as that won't include a key field). I use value lists that consist of an ID and a second descriptive field, and only show the second field.

Not quite - but then also...

You could have 2 instances of the target field on the layout, each with their own drop downs. Set one field to have the drop down presented automatically and the other to "include arrow to show and hide list" - hide one field behind the other and then you give the illusion of two lists on the same field.

  • Author

Thanks bcooney...I am currently using an "add new" button with a popup window and using foreign keys to populate the value list with a second descriptive field. Just thought there might be some sneaky way to accomplish this :)

  • Author

Thanks IdealData...I love sneaky maneuvers like that but after playing around for a while I haven't gotten it to work smoothly. I'm going to stick with the traditional way of doing things and a script that asks the user if they want to select from the database or add a new record.

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.