More TitleColumn Functions

A place for users and developers of the Xataface to discuss and receive support.

More TitleColumn Functions

Postby cantlep » Tue May 25, 2010 2:00 am

Hiya,

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
cantlep
 
Posts: 172
Joined: Fri Mar 05, 2010 2:14 am

Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 20 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved