Hi
Could someone tell me what is wrong with this if statement please, I am getting an error “SyntaxError: Unexpected token ‘if’” I have placed this in Text Label, under Style Text Color;
{{
if ( TblClients.selectedRow.status == “Active”){ “#22c55e”; }
else if ( TblClients.selectedRow.status == “Pending”){ “#eab308”; }
else if ( TblClients.selectedRow.status == “Suspended”){ " #ef4444"; }
else { " #aaaaaa";}
}}