Question : CF- Email form submit not running

I have a form that submits a email and then I send a confirmation email to the email that was submitted.  For some reason I am not getting the insert of the new email or error messages to run.  Here is the form that submits the email and in the code block is where the process happens.  Any help is appreciated.

<form action="includes/AA_Signup_response.cfm" method="post" id="AAform">
                <span>Subscribe: </span>
                        <input name="Email" type="text" size="12" value="Your Email" onFocus="this.value=''" align="middle" />
 
                        <input name="AAsubscribe" type="submit"  onclick='$("##myButton").click();setTimeout(tb_remove,3000);' value="GO" align="middle" />
 
                        <input id="myButton" type="hidden" alt="##TB_inline?height=300&width=400&inlineId=myOnPageContent"  class="thickbox"/>
                </form>
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
<html>
<!--- Add cfparams to prevent errors on the page --->
<cfparam name="FORM.Email" default="">

<!--- Create an empty error string --->
<cfset strError = "">
<!--- If the form is submitted --->
<cfif isDefined("FORM.Submit")>

<CFQUERY NAME="GetEmail" dataSource = "#application.datasource#">
    SELECT Email
         FROM SubscriberTestEmailGroup
WHERE email = <CFQUERYPARAM VALUE="#FORM.EMAIL#" CFSQLTYPE="CF_SQL_VARCHAR">
</CFQUERY>
<cfif GetEmail.recordcount EQ 1>

<cfset strError = strError & "<p>That email is already registered to receive the newsletter">
</CFIF>

<cfquery dataSource = "#application.datasource#">
INSERT INTO SubscriberTestEmailGroup
		WHERE Email='#Form.Email#'
</cfquery>
<!--- If the form was not submitted --->
<cfelse>
	<!--- Send the user to the form page --->
	<cflocation url="http://www.company.com">
</cfif>

<body topmargin="0" bottommargin="0" rightmargin="0" leftmargin="0" bgcolor="#efefef">

					<!-- ***************** Email Content Below ***************** -->
					
                    <p><!--- If the error string is still empty show the results ---> 
 <cfif strError EQ ""> 



	<!--- Send the email ---> 
  <cfmail 
		from='"Company" <[email protected]>' 
		to="#FORM.Email#" 
		type="text/html"
        subject="Welcome">
<table>
<tr><td><p>Welcome text
</td></tr>
</table>
  </cfmail> 
</cfif>
</body>
</html>

Answer : CF- Email form submit not running



  INSERT INTO SubscriberTestEmailGroup  (email)
  values ('#form.email#')

Random Solutions  
 
programming4us programming4us