Background Vector
Background Vector

Highlight the Active Field with Conditional Formatting

This is one of my favorite tips, which we first published in August 2007 when conditional formatting was introduced in FileMaker Pro 9.  A not-uncommon request we’ve received over the years is to highlight the current field with something more than slightly darker field borders.  Conditional formatting seems the perfect answer: there must be a way to change a field’s background fill from its default to another color on entering the field, right? Turns out… no.  You cannot use conditional formatting to change a field’s fill color on entering it.  It’s just not possible.  Never.  Conditional formatting does not work in any way whatsoever while focus is in the field in question.

And that’s when the epiphany struck. Instead of trying to change a field’s fill from the default to another color on gaining focus, make the default color of every field the color it should have on entry.  Yes, that’s right, if you want fields to turn yellow when a user tabs to the field, make them ALL yellow in Layout mode.  Now, use conditional formatting to change their color when they do not have focus.  Select all your fields, and apply the following conditional formatting rule: set the fill color to white under the condition “Formula is…” True. That’s it (and how’s that for a complicated calculation formula?).  Now, whenever the field does not have focus, the conditional formatting is tested, the formula will evaluate as true (of course), and the unfocused field will have its “default” white fill.  On entering the field, the conditional formatting disappears and the field turns yellow.

 

Related Articles

AI and FileMaker working together for custom business software development

Let’s be honest: AI isn’t going anywhere. The powerful LLM tools that Anthropic, OpenAI, Google, and others have developed are here to stay. They are increasingly becoming integrated into our everyday lives, especially in the software development world. And there

Team collaborating on business reporting using a flexible FileMaker application
Business requirements change. Learn why FileMaker makes it easy to adapt reports, workflows, and databases without lengthy development cycles.
Illustration of AI connecting FileMaker 2026 with multiple business systems using intelligent data workflows.

Last month, we explored the most impactful developer-focused features in FileMaker 2026: from Remote Backup and Standby Server to native PDF generation and other enhancements that make building and maintaining applications easier. But there was one topic we didn’t touch