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.
Juggernaut

How to Add Validation on a Calculated Field

Featured Replies

Hi,

I have a product table, there's an "Amount" field calculated by Quantity * Price. I want to add a custom message if the amount is over $1000.-. Not sure how I can do that. Do I need to write a script or there's easier way.

Thank you very much for any help.

-- MTG --

I'm assuming you want this custom message to appear in a field, perhaps on an invoice.

Make that field a calculation defined as:

If ( amount > 1000 ; "custom message, blah, blah, blah..." ; "" )

Be sure to make the calc result Text.

  • Author

Thanks for your quick response.

Actually, I don't want the message to be printed in the field. I want to have a pop up message box to remind the user if the amount is over $1000.-, it has to be approved. Also, I shouldn't define this as a text field, because the total amount of this order is the sum of each amount.

Validate either the Quantity or the Price field (or both - depends on which are filled by the user) by calculation =

Amount ≤ 1000

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.