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.

Need help with calculation

Featured Replies

Hi Everyone,

I am new using the filemaker script/calculation, I don’t know to validade a field if someone click at the “CustomerNumber” field a message box should show up and asking “Are you sure you want to make changes at this record?” If they click “OK” it is allow to make change at that field and if they click “No” changes are not allowed.

Any help will be appreciated and thank you in advance.

Sandy

Hi Sandy,

From layout mode, select Layouts > Layout Setup and uncheck 'Save record changes automatically.'

I believe that's what you are asking. If not then we will need more information.

LaRetta

You could define the field as a button that runs a script like:

Show Custom Dialog [ Message: "Are you sure..."; Buttons: “OK”, “Cancel” ]

If [ Get (LastMessageChoice) = 1 ]

Go to Field [ Yourfield ]

End If

Hi Sandy,

You will also want to remove that field from the tab order (if you haven't already). Otherwise someone could tab to it, bypass the script and change it freely. :smile2:

LaRetta

That's a good point, which I took for granted - thanks for adding that. I usually make the field non-enterable in Browse mode, which also makes it skip its tab order. You could also add the button itself to the tab order, so you can tab into it and fire the script by pressing Return.

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.