I currently have this is a table called "SiteData/SiteData.php"
- Code: Select all
function titleColumn(){
return "concat(SiteData.SiteName , '[',SiteData.MPAN1,']')";
}
This is used when creating a new entry in the "ContractData" table (A relationship exists here) and works great.
What I'd also like to do is concat some other fields when creating a new entry in the actual "SiteData" table. I know I can't do multiple returns or repeat the function. However, when I tried to tag some fields onto the end on this, it went a bit pears. Basically, I have 65 fields to fill in in "ContractData" and I'd like some to be presented horizontally rather than vertically.
Perhaps something like the widget:columns directive but not for just checkboxes.
Can you help?
Thanks
Paul