Jump to content
Server Maintenance This Week. ×

Auto-entered Field Tips/Instructions


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

Recommended Posts

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")

Link to comment
Share on other sites

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