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

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

Recommended Posts

Posted

Here is a set of custom functions for formatting an auto-entered field instruction when the field is blank. It formats the instruction in a light gray italic font, while the data in the field is formatted as black plain font. Of course you can specify your own colors and styles.

AE_Instructions (fieldData; displayText)



Case ( 



fieldData <> displayText and not IsEmpty ( fieldData );

NormalText( fieldData );



InstructionText ( displayText )



 )





InstructionText ( Text )



//Makes the selected text light gray in color and in italics

TextStyleAdd ( TextColor ( text ; RGB ( 75 ; 75 ; 75 ) ) ; Italic )





NormalText ( Text )



//Makes the selected text Black in color and Plain in font.

TextStyleAdd ( TextColor ( text; RGB ( 0 ; 0 ; 0 ) ) ; Plain )

In the actual auto-enter settings for the field you would use the AE_Instruction function, like so...

AE_Instruction (Name_First; "enter first name")

Posted

Am I missing something? The instruction text is not removed when data is entered into field. It just becomes black and plain along with data.

This topic is 7427 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.