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.
Juggernaut

Calculation Graphic Switch

Featured Replies

I'm trying to get a calculation that switches two container graphics. User enters a text and the checkmark switches from black to red. I saw a solution like this before but could not find a post of it. Any Help?

Thanks

Graphic_Calc.fp7.zip

Change cTextValidate to:

If ( IsEmpty ( Text ) ; cContainer ; cContainer [ 2 ] )

When specifying repetitions, the first repetition is the default if left unspecified.

  • Author

Hi there again! Thanks! I got it working by guessing but I'm sure its a WRONG way how it is done!

Thanks!

Thomas

Graphic_Calc2.fp7.zip

I don't have any checkmarks handy, but something like the attached file may work for you.

Graphic_Calc.fp7.zip

  • Author

Thanks works perfect!

  • Author

One more example, color change in text.

Is it possible to have a entered value change colors? In this file the "Item in Stock" should change color and not "cCalc", is this possible this way or is it only possible with 2 different colored fields?

Text_Color_Change.fp7.zip

Change calc type to text and it will change when the value changes. You have it as a number and that's why it doesn't work.

UPDATE: You can also apply color directly to a standard field by leaving it a standard field and applying your calc under the Auto-Enter tab, via calculation. After you enter your calc, UNCHECK 'Do Not Replace Existing Value' in the Auto-Enter tab. I prefer not to colorize my original text because printing can then look odd.

And you can shorten your calculation to:

If ( Item in Stock < Item Reorder Level ; TextColor ( Item in Stock ; RGB ( 255 ; 0 ; 0 ) ) ; Item in Stock )

You can use as many colors as you wish - just define them within the calculation ( using a Case statement etc).

Edited by Guest
Added update

  • Author

U're a genius! Thanks

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.