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.

how can i get a field to flash?

Featured Replies

Hello,

I was wondering how i can get a field to flash, basically i want to flash a field that show Total Hours. I want to set up when so that when total hours reach 35 it start flashing.

thanks

victor

There is no way to get a field to flash based upon a condition or not. There might be a plug-in to do this, but I'm not aware of such. If you're using FM7, you could use the text formatting functions to make the text flash for a defined amount of time, but it'll have to be scripted, something like this -

If (TotalHours >= 35)

SetField [TotalHours] TextColor ( TotalHours; RGB (0;0;0) )

Pause (for a few miliseconds)

SetField [TotalHours] TextColor ( TotalHours; RGB (255;255;255) )

Pause (for a few milliseconds)

End If

You could loop this If statement a few times to make sure it's seen.

This will basically change the color of the text in TotalHours a few times. There are plugins to run a script when a certain condition is met, so it could be used in conjunction with this script.

This is one way to make it kinda work, however screwy it looks.

You could use a container field to hold a coloured square.

Put that field behind the field with the Total Hours.

With a calculation, set the field to hold "nothing" (be blank) or

hold the coloured square....it's not flashing but it would give

you a hi-lited background to draw attention to that field.

Dan

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.