Hi,
I want to be able to send an email to the customer saying that their order has been dispatched when we click the checkbox and the date has been set.
I have included the code for the checkbox, which when clicked and saved will make...
CODE
<tr bgcolor=ffffff>
<TD nowrap><strong>#itemcode#</strong></TD>
<td width=100%>#itemname# - #itemdescription#</td>
<td><input type="checkbox" name="SEND_#itemoptionid#" value="1"<cfif itemsentdate NEQ ""> checked<!--- <cfelseif DateCompare(Now(),itemdue) EQ 1> checked --->
</cfif>
</td>
</tr>
This appear on our page:
CODE
<TR bgcolor=e2e2e2>
<TD><B>Order Dispatched*:</TD>
<TD bgcolor=ffffff>
<input type="hidden" name="ordersentdate" value="#ordersentdate#">
<cfif ordersentdate neq "">
<font size="2">on #dateFormat(ordersentdate,'dddd, dd mmmm yyyy')# @ #TimeFormat(ordersentdate,'h:mm tt')#</font>
<cfelse>
Not Yet Dispatched
</cfif>
</TD>
</TR>
So from their we want to have an email sent to say what we see on our page, plus a few other things that we can specify in a html email.
Please help!!!