I need to construct a conditional link in a CC list so I'm using the Front List PHP Function, but I'm lost on how to access the field data in the $row. I have 2 models rq, s and I need s.chronoform and s.sub_id
I
s.datesubmitted:if($cell == null){return "<i class='fa fa-ban' style='color:red;'></i>";} else {return "<a href='http://www.missionalive.org/ma/index.php?option=com_chronoforms5&chronoform=".$row['chronoform']."&id=".$row['sub_id']."&event=view' class='btn btn-xs btn-success'<i class='fa fa-check' style='color:green;'></i><small>".$cell."</small></a>";};
I