Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

FM11 - Text values in another field changes this field's text color


This topic is 4057 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi everyone.  This one's simple I'm sure.

 

I have a text field where my client can type freely, but most commonly uses two key phrases (PAA and DRM).

 

In another field, I need to format the text color to red when either of these phrases exist in the other field.  The imoprtant thing to remember is that the other field may contain a lot of other text.

 

Brain not working this am (coffee maker broken).  Any ideas?

 

Thank you!

 

Tony

Posted

PatternCount(yourfield,"PAA") = 1

PatternCount(yourfield,"DRM")=1

 

check both for conditional formatting.

 

I think that will work,

Martie

Posted

Actually, for the CF formula simply use

PatternCount ( textField ; "PAA" ) or PatternCount ( textField ; "DRM" )

This topic is 4057 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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