This topic contains 7 replies, has 0 voices, and was last updated by HubertJ 6 years, 10 months ago.
-
AuthorPosts
-
January 19, 2018 at 10:15 am #18160
HubertJHi,
I am trying to style a field (make text bold and red) whenever value This is a cached copy. Click here to see the original post.
-
January 22, 2018 at 4:40 am #18161
Vedahi,
you can meet your requirement by using a separate custom field of type “inlineHTML”. Value of the inlineHTML field needs to be set using CASE statement based on your requirement.
In the script example below, we have set different colours for number range 50
CASE
WHEN (TO_NUMBER({custom_Field_Name})<25) THEN
'
‘ || trim({custom_Field_Name}) || ‘‘
WHEN (TO_NUMBER({custom_Field_Name})<50) THEN
'
‘ ||trim({custom_Field_Name}) || ‘‘
ELSE
‘
‘ || trim({custom_Field_Name}) || ‘‘
END
thanks,
Veda.
-
January 22, 2018 at 9:22 am #18162
HubertJVeda,
thank you very much for your help.
Where do you put that case statement? I put it in default value field in Validation & Defaulting ?
Is it a proper way or there is a better way to do that ?
—
Regards,
Hubert
-
January 23, 2018 at 10:35 am #18163
pcutlerHubert, the validation & defaulting section is the right location for that.
To offer one other option, if you’re using saved searches to display data you can also bold/highlight fields on the highlighting tab of the saved search.
-
January 23, 2018 at 10:50 am #18164
HubertJpcutler,
thank you for your answer. I’ve used highlighting tab on the saved search but it will highlight the whole row not one field.
Is there a way to highlight one field on saved search ?
-
January 23, 2018 at 10:52 am #18165
pcutlerYou’re correct, the highlighting feature would highlight the whole row. If you need to highlight a single field, you can use Veda’s approach from above in a “Formula Text” search column field.
-
January 23, 2018 at 10:56 am #18166
rnedelkowSuiteAnswer 18393 also includes an example for cell and column highlighting based on conditions in saved search.
-
January 23, 2018 at 12:00 pm #18167
HubertJThank you !!!
-
AuthorPosts
You must be logged in to reply to this topic.