I want to be able to identify the field from behind the field, you see the field and behind it is "Last Name". When data is entered in the field i no longer see "Last name" Jimmy
Welcome! You've posted to Community Feedback and you'll get more answers if you Move the thread to Discussions. Perhaps @TSPigeon and assist you? Or select Move under the Actions menu (gear icon in the upper right).
To answer your question:
There are various ways to place the actual text label under the field (a layering of two objects) the field is filled with transparent and you can HIDE the label if the field is not empty. However layering doesn't play well sometimes. So you might use the feature called "Placeholder text" and it does exactly what you want!
(see starting from the "Adding and changing placeholder text in a field" on this page)
You did not specify the version of FileMaker Pro that you are using, so hopefully the Placeholder text is all you need.
If you don't have a recent enough version to use Placeholders, you can place layout text on top of the field and use a Hide Object WHen expression: Not Isempty(fieldNamehere) to hide it when the field has data. If using WebDirect, make the field transparent and put it behind the field.
"Hide object when" was introduced with FMPro 13
"Placeholder text" was introduced with FMPro 14
The "problem" with layered objects (one under/over another) may be if the file is Web Published with WebDirect. Layered objects do not 'play well' in WD.
Which is why you would put the label behind the field when publishing in WebDirect. That way, it can't block mouse clicks on the field.
Prior to 13, you'd have to use conditional formatting to hide the text. A bit less obvious, but a single line of layout text that conditionally formats to 500 pts size typically disappears. Haven't tried that in WebDirect so YMMV.
I guess it is difficult to give the "correct answer" not knowing the OP's version and other factors! As I stated in my first reply there are variations.
Placeholder text is my friend, perfect for this kind of stuff.
I too saw the variations in the first reply of this post. I'd consider that a complete answer.
Sorry OP there's a lot of posts here. While not conflicting, there's a lot of options. It gets confusing.
If you could tell us your FM version number, that would be helpful. But beverly seems to have covered the possible ways.
Retrieving data ...