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.

Script to create records based on field value

Featured Replies

Not sure if this is the right section, but here goes:

Staff.fp5 - contains information about staff members

Items.fp5 - contains information about items that can be assigned to staff members

Transactions.fp5 - contains the transactions/links of items to staff members

When you open Staff.fp5, you will see 4 staff members, each with an item or two assigned to them as shown through a portal. To assign an item to a staff member, you use the drop-down list from the first field in the portal. The drop-down list lists only those items in Items.fp5 that have a package type assigned to it.

I want to create a script that will "assign" all items that are marked with a package type of "Both" to a staff member. I can do this the "wrong" way and create a script that creates records in the Transactions.fp5 file by manually telling the script what kind of transactions to create (New Record, Item Name = Nametag; New Record, Item Name = Phone Number...), but then I will have to modify the script each time an item is given the "Both" package type. I would rather it find all items with the "Both" package type, and somehow create the transaction records based on the list of "Both" package type items it found. If that makes sense.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.