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

I've made a few simple task trackers where start and stop times are entered manually. However, trying to type 2:30 is a pest as typing the colon slows the process down. I'd prefer to enter 2.30. The layout options for time have a : or . separator option, but as soon as I enter the period it says there's an issue. Is there any workaround or calculation that would allow the entry of a period separator, even if this were calculated/converted to a : somehow?

The layout options for time have a : or . separator option, but as soon as I enter the period it says there's an issue.

 

The layout layer and its options do not impact the calculation engine, just the display; you can have a time displayed in whatever way you which (e.g. using commas, or even exclamations marks), but first is must be committed using a valid syntax. Also, you can happily enter as many periods as you wish; only when you try to leave (and commit) the field, FM throws an error.

 

Simplest method (without taking into account all possible ramifications, and ignoring error checks for any apocalyptical scenario):

 

Write a script that triggers OnObjectValidate and substitutes periods with colons. You can even chain several substitutions to check for other characters that habitually get into the way, and substitute those, too.

 

Using this script, you can enter your time using any delimiter(s) that you check for; it will be converted to a valid time format with colon(s), committed, then displayed according to your formatting.

 

Be aware that script triggers, too, work on the presentation level; if you need the same functionality on another layout, or for other fields, you need to attach individual trigger events.

Hi Bob,

 

There are a couple of Demo Files at databasepros.com that also show how this can be done named Text Time and Time Entry here Time

If you are entering current times, you can also use the key combination of Cmd and -

 

HTH

 

Lee

I do this (for exactly the same reason) with an auto entered Substitute(Self; "."; ":")

  • Author

That's great - just what I was looking for. And databasepros.com is a great resource too.

 

I do this (for exactly the same reason) with an auto entered Substitute(Self; "."; ":")

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.