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.

Validation or Script Trigger

Featured Replies

I have two fields: Closed Date & HW Platform.

 

Goal: If the user selects the HW Platform field and Closed Date is empty pop a custom dialog. If Closed Date is not empty then no message.

 

I have tried a few ways to use field validation to perform the check and post a message but no luck so far. I know I could do this easily with a Script Trigger. My question is can this be done with validation? And is one or the other method better? Validation or ST?

 

FileMaker 12

FileMaker Server Adv 12

What do you mean by: "If the user selects the HW Platform field" ?

The user makes a selection from a value list or simply enters the field ?

  • Author

If the user clicks in the field as though they are going to make an edit.

Script trigger was made for these situations. Why try to work around the obvious solution?

  • Author

Script trigger was made for these situations. Why try to work around the obvious solution?

Because I'm still new at this and sometimes what appears to be the obivious is not always the best way.

Use the onobjectenter script trigger. Use a set variable $test [ field to check ] If isEmpty ( $test ) Show custom dialog Inform user of correct steps Commit records or go to field Exit script End if

Validations will fire everywhere the field is touched, script triggers only fire on the layout where you define them.

 

Validations do not give you the workflow control that you are after.

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.