Hello, I'm trying to format the following to have the feature value to show up as a red text. However, AGOL wont recognize this (as seen in the attachment).
the source code is as follows:
else if (time >= Date(2024, 05, 01) && time < Date(2024, 06, 01)) { //This is june-month's are zero based
return "<CLR red='255'>" +$feature["JUNE"] + "</CLR>" + ' ' + TextFormatting.NewLine + ' As of: ' + time3;
} else if ....
Any advice?
thank you, George