Printing list of custom object fields through Velocity
Hi all,
I'm trying to create a table where, for the first column, each row is filled with a particular custom object field(credit memo number3, which belongs to the creditmemo3 C.O). I want to print all entries each contact has for the C.O. I'm using the below code:
<table border="0">
<tr>
<td>Credit Memo Number </td> <td> Charity Name</td>
</tr>
#foreach ( $creditMemoNumber3 in $creditMemo3_cList )
<tr>
<td>
$creditMemoNumber3</td>
<td>
${lead.Company}
</td>
#end
</tr>
</table>
However, this is the output that I get for the first column. It correctly identified all entries of this field for the contact, but the output format is not what I wanted:

How can I only display the actual value of the field (in this case, just the numbers, not the name of the field and brackets)?