Hi all,
I have a repeater object and am trying to find a work around to change the text color of a repeater item - BASED on a specific value of the SECOND character in the string (index position 1) being “L” . I am putting the check on the load event on the individual item inside the repeater.
Basically, I want to add a condition that checks that second character for each item and then uses the setText - to rich text that I basically put the same repeater item and just change the text color. What I am having trouble figuring out is how to set up the statement in the condition builder fx panel.
In the condition builder, I have created a local variable that contains the text on my repeater item, and am unsure about the next part,
so far:
if text on This contains “[[LVAR.charAt(1) == (L)]]”
I don’t think I’ve got this statement quite right, any pointers would be much appreciated!