My form action page displays what a users has submitted and then sends that same information to their email address.
Currently the <cfmail> information looks like:
Rather than send the course_id's I want to send the course name and date so I did a cfquery for those values and the used cfoutput but I get the following error message:
A query driven CFOUTPUT tag is nested inside a CFOUTPUT tag that also has a QUERY= attribute. This is not allowed. Nesting these tags implies that you want to use grouped processing.
The course information is course_id, course_name, course_date.
Thanks for your help.
Currently the <cfmail> information looks like:
Code:
<table border="0" cellpadding="5" cellspacing="0">
<CFSET variables.bg_color = "E5DEEB">
<CFLOOP index="i" list="#form.fieldnames#">
<CFIF variables.bg_color IS "E5DEEB">
<CFSET variables.bg_color = "BBA8CB">
<CFELSE>
<CFSET variables.bg_color = "E5DEEB">
</CFIF>
<tr>
<td bgcolor="#variables.bg_color#">#i#</td>
<td bgcolor="#variables.bg_color#">#evaluate(i)#</td>
</tr>
</CFLOOP>
</table>
Rather than send the course_id's I want to send the course name and date so I did a cfquery for those values and the used cfoutput but I get the following error message:
A query driven CFOUTPUT tag is nested inside a CFOUTPUT tag that also has a QUERY= attribute. This is not allowed. Nesting these tags implies that you want to use grouped processing.
The course information is course_id, course_name, course_date.
Thanks for your help.