# Problem with Form mail

**URL:** <https://forum.kirupa.com/t/problem-with-form-mail/215553>\
**Category:** flash\
**Created:** [February 8, 2007, 5:20am UTC](https://forum.kirupa.com/t/problem-with-form-mail/215553 "2007-02-08T05:20:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![K\_digital](https://avatars.discourse-cdn.com/v4/letter/k/ec9cab/32.png) [@K\_digital](https://forum.kirupa.com/u/K_digital)\
**Post date:** [February 8, 2007, 5:20am UTC](https://forum.kirupa.com/t/problem-with-form-mail/215553/1 "2007-02-08T05:20:58Z")

</div>

This message is bugginf the heck out of me when i hit the submit button.

Fatal Error!Invalid form ID. Please check your SSI code!

Here’s my actionscript for my Submit Button.

on (release) {  
FormData = new LoadVars();  
FormData.Name = name.text;  
FormData.Name = address.text;  
FormData.Name = city.text;  
FormData.Name = state.text;  
FormData.Name = zip.text;  
FormData.Name = phone.text;  
FormData.Name = email.text;  
FormData.Name = message.text;  
FormData.resulturl = ‘[http://myurl.com/v-web/forms/thanks.htm](http://myurl.com/v-web/forms/thanks.htm)’;  
FormData.send(‘[http://myurl.com/v-cgi/forms.cgi’,’\_self’,'POST](http://myurl.com/v-cgi/forms.cgi','_self','POST)’);  
FormData.Formid = \_Vdeckformid = 189; }

Here’s my CGI script from my server.

\<form action=“[http://myurl.com/v-cgi/forms.cgi](http://myurl.com/v-cgi/forms.cgi)”  
enctype=“application/x-www-form-urlencoded”  
method=“post”\>  
\<table\> \<tr\>  
\<th align=“right”\>  
Name:  
\</th\>  
\<td\>  
\<input type=“text” name=“Name” size=“30” /\>  
\</td\>  
\</tr\>  
\<tr\>  
\<th align=“right”\>  
Address:  
\</th\>  
\<td\>  
\<input type=“text” name=“Address” size=“30” /\>  
\</td\>  
\</tr\>  
\<tr\>  
\<th align=“right”\>  
City:  
\</th\>  
\<td\>  
\<input type=“text” name=“City” size=“30” /\>  
\</td\>  
\</tr\>  
\<tr\>  
\<th align=“right”\>  
State:  
\</th\>  
\<td\>  
\<input type=“text” name=“State” size=“30” /\>  
\</td\>  
\</tr\>  
\<tr\>  
\<th align=“right”\>  
Zip Code:  
\</th\>  
\<td\>  
\<input type=“text” name=“Zip\_Code” size=“30” /\>  
\</td\>  
\</tr\>  
\<tr\>  
\<th align=“right”\>  
Phone:  
\</th\>  
\<td\>  
\<input type=“text” name=“Phone” size=“30” /\>  
\</td\>  
\</tr\>  
\<tr\>  
\<th align=“right”\>  
Email:  
\</th\>  
\<td\>  
\<input type=“text” name=“Email” size=“30” /\>  
\</td\>  
\</tr\>  
\<tr valign=“top”\>  
\<th align=“right”\>  
Message:  
\</th\>  
\<td\>  
\<textarea name=“Message” rows=“6” cols=“30”\>\</textarea\>  
\</td\>  
\</tr\>  
\<tr\>  
\<th\>\</th\>  
\<td\>  
\<input type=“submit” name=“Submit” value=“Submit” /\>  
\</td\>  
\</tr\>  
\</table\>\<input type=“hidden” name="\_vDeckformid" value=“189” /\>  
\</form\>

PLEASE HELP.
