Field Label values

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 12, 2011   (RSS)

By rcrofoot - April 12, 2011

Hello-

I'm trying to display a regular old Field Label value, but all I seem to be able to access is the table fieldname value...Here's what I have:

<?php $count=0; ?>
<?php foreach ($record['presentations'] as $upload): ?>
<?php if (!$count)
{
echo $upload['fieldName'].":<br/>";
}
$count++; ?>...etc...

The above code displays "presentations" which is the table fieldname...I'm trying to get the label of the field which is "Presentation Templates"...

I tried echo $upload['fieldLabel'], but no luck...

Can you tell me how retrieve the actual label value of a field...and not the table fieldname...

Many thanks, Rick

Re: [Jason] Field Label values

By rcrofoot - April 12, 2011

Thanks Jason...I kind of suspected something like that...

I ended up just hardcoding the values, but I like your idea about entering into 'info1'...

Thanks for the quick reply...Rick