Expand my Community achievements bar.

SOLVED

Font Weight & Color Change On Variable Entry

Avatar

Level 2

I have a text entry field that should turn Bold & Red IF an ID >= KK1 and <= LL2 is entered.

Is there a way to do this?

Thanks a million!

1 Accepted Solution

Avatar

Correct answer by
Level 2

Nevermind, I got it all on my own.  Below is the code I wrote to make this field work appropriately:

 

//This will change the font color and weight of the S/Ns that are to be flagged - DNLE

 

  (stg2whl_sn.rawValue > "KK31800" && stg2whl_sn.rawValue < "KK32098"){

stg2whl_sn.fontColor = "139,0,0";

}

else

{

stg2whl_sn.fontColor = "0,0,0";

}

if

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

Nevermind, I got it all on my own.  Below is the code I wrote to make this field work appropriately:

 

//This will change the font color and weight of the S/Ns that are to be flagged - DNLE

 

  (stg2whl_sn.rawValue > "KK31800" && stg2whl_sn.rawValue < "KK32098"){

stg2whl_sn.fontColor = "139,0,0";

}

else

{

stg2whl_sn.fontColor = "0,0,0";

}

if