I am trying to add a strikethrough on text in a connection list if a field in the row is set to a specific value. I have the following fields:
cust_names - Customer Name
cust_registered - Yes/No, showing if the customer has already registered
In my CC connection, I wish to show the customer name with a strikethrough if they have already registered (cust_registered = Yes). In the PHP Functions for the connection, I have the following:
Which is not working. Any idea what I am doing wrong?
Thanks!!
Rick
cust_names - Customer Name
cust_registered - Yes/No, showing if the customer has already registered
In my CC connection, I wish to show the customer name with a strikethrough if they have already registered (cust_registered = Yes). In the PHP Functions for the connection, I have the following:
cust.cust_names: return ($row['cust']['cust_registered'] == "No") ? '$row['cust']['cust_names']' : '<strike><b>".$row['cust']['cust_names']."</b></strike>');
Which is not working. Any idea what I am doing wrong?
Thanks!!
Rick