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.

Featured Replies

How do I set a default value in a popup menu through a script... One of these popup menus uses a value list from another file?

Not sure exactly what you mean here. Maybe you can clarify what this script does and why it is relevent that the value list is from another file.

I'd assume you'd have some tests and if they do not pass the tests then the default action would be "Set Field popupFieldName = the value you want"

As long as the default value is always the same, it doesn't really matter that it is in a value list. Maybe that helps?

The way to set a default value is to auto-enter it when the record is created, or to enter the value with a script at some other time.

  • Author

I think I need to go back to basics... If I have a popup menu with a list of choices from a value list. Is there a way to select which value is default or more precisely, which value shows up on screen and is used for calculation if no choice is selected?

Define an calculation:

Case(popUpList,popUpList,DefaultValue)

disallow entry into field make it trasparent and put it over your pop-up field

Dj smirk.gif

"I think I need to go back to basics... If I have a popup menu with a list of choices from a value list. Is there a way to select which value is default..."

No, other than entering the default value into the field.

Remember, the pop-up list is just a mechanism for presenting a list of possible values. There is no way to coerce any one value over another in a value list.

"... or more precisely, which value shows up on screen and is used for calculation if no choice is selected?"

This is actually a different question! This is usually achieved by using two fields, one that the user enters into, the other is a calc field that goes something like "If(IsEmpty(UserEntryField), DefaultValue, UserEntryField)".

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.