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.

autofill or delete related record upon exiting record

Featured Replies

I have a table that lists camera lenses we own [lenses]. The user can click a button and a new window opens displaying a list of quality control entries made for that lens within a portal [lens QC]. A button is clicked on that portal line to open a further window which the user can create a QC check list (or tasks) [advanced lens QC], again within another portal. The fields defined within each task are "task", "status", and "comment". The user can either auto populate a checklist based on a value list, or they can manually add portal (task) lines themselves. Most users auto populate. Upon the user exiting this advanced lens QC window layout (via a button that says Exit) I need two things to happen:

 

1. If no status was entered into the "status" field (which are radio buttons: 'Passed', 'Failed', 'Comments', 'N/A') for that particular task, and comments WERE entered into the "comment" field, FMP must set the "status" field to 'Comments' for each related record this applies to. However, if the "status" field was set to an actual value (for example, 'Passed') and the user still entered comments, then FMP should move onto the next record without changing anything.

 

2. If no status was entered into the "status" field for that particular task, and no comments were entered into the "comment" field either, then FMP should delete those related records.

 

What is the best way to get FMP to check the related fields for these values? What is the most efficient way to "loop" this script?

You would probably want to take a look at the OnRecordCommit script trigger.

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.