Lists (checkbox multi value) display multi values?

3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 8, 2010   (RSS)

By MRI - February 4, 2010

I set u a section that has a multi value checkbox.. I set up the List options to pull data from database.

So for example its pulls Item Name for value and label.

the problem is, when I select a certain checkbox.. on the actual page it just lists the "Item Name".. I want it to also list the Item Description as well as the name.

How do I do this?

Sample code.. this is what im using now:

<?php echo join('<br /><br /> ', getListLabels('rfps', 'case_studies', $rfpsRecord['case_studies'])); ?>

It just displays the Case Study Title... I want it to display the Case Study Title and the Case Study Description

Thanks in advanced

Re: [MRI] Lists (checkbox multi value) display multi values?

By Dave - February 8, 2010

Hi MRI,

Sorry for the delay in responding.

Are the list options for 'case_studies' specified in the field editor or are they loaded from another table?

Let me know and I'll write up some code for you.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com