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.

time calculation field

Featured Replies

Hey all. I have a time field where the duration of a film is entered in HH:MM (1:30) format. Sometimes we get films in that just have the minutes listed (90). I'm looking to incorporate a script where the user clicks on the duration time field (as a button) and is presented with a dialog box asking for either the duration minutes in one field, or the hour and minutes duration in another. If the HH:MM is entered then the time is directly entered in to the original field as the user entered it. If minutes have been entered, I want a script to convert the time to HH:MM.

For example, if 1:30 is entered in the duration, it stays as 1:30. If 90 was entered in to the duration, it is converted to 1:30. I want the duration time listed in 24 hour notation.

If you can suggest a better method, I would be open to hearing suggestions.

Thank you!

Here's a sample; you can use the script with a button and a custom dialog (as in this file), or modify the script to use it as a trigger script for an entry field.

btw, 12 or 24 hr format is not a field option, but a layout formatting option.

DurationEntry.fp7.zip

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.