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.

Simple color calc

Featured Replies

Hopefully this has an easy answer. I would like to make the wrong answer show up in Red.

I have 2 fields Answer1 which has the student's answer in it. The answer is a letter (A-E)

The second field CorrAns has a Y or and N indicating if the answer1 is correct or not.

So if CorrAns = "N" I want Answer1 to be colored red otherwise it will be the default text color for the field.

Hopefully I made this clear. I am not sure if I use case or if for the calculation and not sure how to complete it.

Thank you for your time.

CMACK

I guessing that you are using the Auto Enter on the Answer Field.

Case ( CorrAns = "N" ; TextColor ( Answer ; RGB ( 250 ; 0 ; 0 ) ); TextColor ( Answer ; RGB ( 0 ; 0 ; 0 ) ))

If you want a Demo, I can post one.

HTH

Lee

Edited by Guest

  • Author

I am not using auto enter any where. I import all the data from another file. But I think what you have above is what I was attempting to do.

I am going to try it right now.

Thank you very much.

You can not import into a calculation field.

The Answer Field would have to be text, in which case, you would have to create a second field for the text color change, or use the Auto Enter Function.

here is a small demo of the field. Check the Options I used, and be sure that you "Deselect" the box under the Auto enter that reads "Do not replace existing values (if any).

Lee

cmack.fp7.zip

  • Author

Lee,

That worked perfectly. Thank you for taking the time to help. I always try to search for what I am looking for before asking but I never seem to use the correct terms or I end up with things way more complicated then I need.

I appreciate your time.

CMACK

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.