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 based on a max value for a sum in a portal

Featured Replies

Hello,

I have a portal with a field containing a duration (time).

I would like to make a sum of this field for each entry of this portal, and forbid the user to enter duractions so that the total of the portal would be more thah 24 hours.

Is this possible ? And how do you suggest to make it ?

The problems I encounter are

- The summary field does not automatically update, I need to change record and get back, or close the database or so.

- In IWP, the updating of the summmary field seems ok, but the validation on the duration field seems to happen BEFORE the update of the field. Which means it doesn't really validate base on the new total but base on the total that was enter before, and in the end it doesn't allow the user to change anything ...

But maybe there is another way ?

Thank you if you can help me. (IWP compatibility is required)

Edited by Guest

  • Author

PS ??? Is this a valid syntax for field validation ?

"SumHours ≤ 86400"

(SumHours is a Summary Field)

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.