Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Changing the color of text depending on the outcome of a calculation.

Avatar

Level 2

IE less than 100% the text needs to turn red.

1 Reply

Avatar

Level 10

Hi,

you can use FormCalc to do so.

Put this script into the layoutReady:Event of your numric field. Don't forget to select FormCalc as script language!