Changing Field colors

Posted on 2004-11-09
Last Modified: 2013-12-18
i woul like to change the font color of a field according to its content. I mean:
if "Failed" then Red, else Black

It could be Formula language, lotusscript prefered.
Anyone could help me?
Thanks in advance.
Question by:Richie_Simonetti
    LVL 14

    Expert Comment

    where do u want this? in view you can use Icons to display , if it is R6, you can use color as your choice for column properties
    LVL 15

    Assisted Solution

    In a form , the 'normal' way to do this is use hide-whens

    create 2 fields (computed for display) of the value you want to show, set the color properties differently, and show 1 of the 2 depending on your conditions.


    LVL 16

    Author Comment

    Partha, not in a view, in a document. Thanks.

    Bozzie4, is there other way than two fields approach?

    i don't like it. Why we can't change font colors dinamically?
    PS: By the way, it is a plain field not a Richtext one.
    LVL 46

    Assisted Solution

    by:Sjef Bosman
    Notes client or Web?

    Instead of using CfD fields, use Computed Text (sorry Tom, your line...)
    LVL 16

    Author Comment

    notes client. The field is Computed
    LVL 14

    Accepted Solution

    I believe you cannot do that in Notes client without Hidewhens. The only way is hide when as explained by Tom

    If it is browser then there are 10000 ways

    LVL 16

    Author Comment

    why in the name of God we need TWO fields to get a simple thing like that?
    Anyway, thanks to all of you.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
    Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now