Filename Fields

2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 4, 2012   (RSS)

Re: [bashful] Filename Fields

By Jason - March 4, 2012

Hi,

CMS Builder will use the first field in the filename fields list that has a value for the current record. If you want more than 1 value, you will need to manually construct your own like.

For example, if your fields were called company_name, town, and county, you could create a variable called $link like this:

$link = "myPage.php?".getFilenameFieldValue($record, 'company_name').getFilenameFieldValue($record, 'town').getFilenameFieldValue($record, 'county').$record['num'];

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/