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.

Featured Replies

  • Newbies

I created a field with a calculation...that combines the following information: Units*Price per unit=Total Cost.

However, if the total cost is less than $51.00 I would like it to default to $51.00.

That is the minimum charge.

I have tryed several different formulas in the "specify calculation" area, but can't seem to figure it out.

Any suggestions?

This should work Methinks:

TotalCost =

If((Units*Priceperunit )> 51,

Units*Priceperunit,

51)

This should check and see if the result will be greater than 51 dollars, if so it uses the evaluated amount, if not, it will use the default amount of 51. Though I would reccommend making a global field somewhere called "lowest price" or something and substituting that for the 51 in the calculation so the lowest price can be updated without getting into calculation definitions later on, especially if you are not the end user.

Usually I'd make a "manager tools" page that would allow editing of values like that. IMO (in my opinion) hard coding specific values into a field definition is *usually* not as good as using a global field, especially if there is a chance the value will ever change.

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.