Skip to main content

Filemaker 13 - Hidden Labels

Remember the days when a developer wanted to make one of those fancy fields with placeholder text? Conditional formatting, 500px text tricks, etc.  Well, thanks to FileMaker 13's "Hide Object" calculation field, it is now a breeze! This method is especially useful for iPhone layouts as screen space is at a premium.

The topic was discussed some time ago in this thread on FMForums.com for earlier versions of FileMaker.

Here is an example if the solution:
Demo Field Labels
Demo file attached.  Read on...
These labels are much like those seen on Web forms.  The field label is a hint for the user to enter the data in the proper field.  First name, middle, last etc.

Here is a partially filled in form:
Form with first, last and nickname added.
And here is with a field in focus:
Field in focus - label gone
With FileMaker's new "Hide Object When" calculation, it is now easy to just hide the label when the field has data.
Example: Hide object when… not IsEmpty ( Field Label Demo::nameMiddle )

The same can apply to other elements on the layout.  For example when a field contains data, the letter indicators as to the data type could be displayed as shown here at the right of the field box.

The same principle applies to other elements such as navigation.  As you can see in the example above the Left and Right arrow indicators for navigating the records disappear at first or last record depending on the found set.  The sample file can be downloaded below.

Demo File FileMaker 13

EDIT: FM 14 makes this all obsolete with the new "Placeholder Text" calculation field!  So good.  There are many ways to take advantage of Filemaker's calculation engine using the "Hide when".  For example, one can set a local or global variable to display custom text or calculations.

Comments

Popular posts from this blog

Do You Need to Defragment a Mac’s Hard Drive?

--> Do You Need to Defragment a Mac's Hard Drive? About Focus on Macs In my mailbag this week, I found a couple of questions about defragmenting a Mac's hard drive. This question usually comes from new Mac users, or individuals who switch to the Mac from the Windows environment, where disk defragmentation utilities abound. Some individuals want to know which third-party disk defragmentation app they should use, or wonder why there is no defrag tool in OS X. Courtesy of Apple OS X does have disk defragmentation capabilities, but they're built into the system rather than a separate tool. Since OS X 10.2, Apple has included automatic defragmentation in the Mac OS. In essence, the Mac OS has built-in safeguards that attempt to prevent file fragmentation from occurring; it's also able to repair fragmentation, should it occur. This means that for the average Mac user, there really is no reason to worry about disk defragmentation, at least not as ...

Learn To Code

Even if just to get a better understanding of how computers work or learning how to customize your browsing experience, knowing the basics of coding opens ones eyes to possibilities once only known by a few.  Learn To Code Planet Cocoa If learning to program is even a minor goal for you,  Code Year (via  Brent Simmons ) might be just the encouragement you need. They promise to email you on a weekly basis with coding lessons to help you achieve your goal. I'm one of those computer programmers who downplays the difficulty of the profession, because "if I can do it, anybody can do it!" On the other hand, I have faced challenges that made me question whether I'm vaguely qualified for the job. What it boils down to is that programming is both incredibly simple and impossibly hard, like so many important things in life. There was a time when nobody knew how to write literary prose. The geniuses who invented it shared their special tool with a ...