I am trying to add values and text to a variable based on other processing so that when I'm done I have created a table and just need to output the variable. Some of my values from grid fields.
It works fine with static data or with just one grid row, but when I put multiple grid output in there, as above, it throws an error at the first double-quote on the third CFSET (the identifier_id row). How can I dynamically add to the variable?
Thanks in advance!
-sg
Code:
<cfset v_msg = "">
<cfset v_msg = v_msg&"<tr><td>"&form.equip.original.reservation_id[counter]&"</td>">
<cfset v_msg = v_msg&"<td>"&form.equip.original.identifier_id[counter]&"</td>">
<cfset v_msg = v_msg&"<td>"&v_uid&"</td></tr>">
<table>
<tr>
<th>Rsv ID</th>
<th>Ident ID</th>
<th>User ID</th>
</tr>
#v_msg#
</table
It works fine with static data or with just one grid row, but when I put multiple grid output in there, as above, it throws an error at the first double-quote on the third CFSET (the identifier_id row). How can I dynamically add to the variable?
Thanks in advance!
-sg