Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Question on new text highlighting feature


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

Recommended Posts

Posted

Has anyone confirmed whether the new text highlighting feature can be used to highlight words in a text field according to a user-specified string (see attached example)?

Thanks.

Highlight.png

Posted

Hey, this could be a good use for the text-highlighting style whose purpose seems to have eluded most of us to this point!

Try this calculated field, where TEXT_BLOCK is the block of text you want to highlight words in, and USER_ENTRY is the word or string you want highlighted:

Substitute(TEXT_BLOCK; 



[uSER_ENTRY; TextStyleAdd(USER_ENTRY; HighlightYellow)];

[Proper(USER_ENTRY); TextStyleAdd(Proper(USER_ENTRY); HighlightYellow)];

[Lower(USER_ENTRY); TextStyleAdd(Lower(USER_ENTRY); HighlightYellow)];

[upper(USER_ENTRY); TextStyleAdd(Upper(USER_ENTRY); HighlightYellow)])

Posted

Thanks for the demo. I can see where that might be useful. And using a calculated field for the display seems to take care of the issue of modifying the actual data.

The biggest problem, as with all of the formatting tools, will be with end users who don't get that whatever highlighting (or bolding, or changing the font size, etc.) is added to text during data entry will also show when that field gets used on another layout, in a different context. Either that, or you already use the TextFormatRemove function in your auto-enter calculation for the field, and the end user is frustrated at the arbitrary removal of their formatting.

Probably the best usage is for conditional formatting (you have to click the "More Formatting" button to find it in the CF dialog), if you really want to get someone's attention.

  • 1 year later...
Posted

I am trying to highlight matching text in a portal as I type into a field in the parent. Using the sample above I was able to get matching text to highlight in the portal, but only when it is a self referencing relationship. As soon as I try it with a different table it breaks. Does anyone know if it's possible to do this?

Thanks.

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