Hi everybody,
i’m trying to style a repeated container item depending on the value of a boolean variable. There is a list of bdms with attributes like date, text and author and so on… So if the bdm comes from a customer i want to use a other style (color, alignment) than if it were from an internal employee.
I do have a boolean variable $item.IsCustomer and i want to set a CSS style depending on it. Because it’s a repeatable container item i cannot use a JavaScript variable. Is there any way to reach my goal with the fx expression field for css? A simple one-line expression like $item.IsCustomer?‘styleOne’:‘styleTwo’ doesn’t seem to work there…
Thanks in advance