title: email form gives strange error
body: <p>The email form I'm trying to fix gives me an error saying:</p>
  
  <p>This can not be accessed this way, you need to have an input field named 'sendtoemail'</p>
  
  <p>Which is strange because i have that input field. Here's the code:</p>
  
  <pre><code>&lt;h2&gt;Contact AirKrete&lt;/h2&gt;
      &lt;form action="http://www.hostmonster.com/monstermail" enctype="multipart/form-data" method="post"&gt;&lt;p&gt;&lt;label&gt;&lt;input type="checkbox" name="locate " id="locate "&gt;&lt;strong&gt;Locate an Installer&lt;/strong&gt;&lt;/label&gt;&lt;strong&gt;&lt;label&gt;&lt;input type="checkbox" name="become" id="become"&gt;Become an Installer&lt;/label&gt;&lt;/strong&gt;&lt;/p&gt;
      &lt;div class="left"&gt;Name:&lt;div&gt;
        &lt;input name="name" type="text" id="name" onDblClick="MM_validateForm('name','','R');return document.MM_returnValue" size="40" /&gt;
      &lt;/div&gt;&lt;/div&gt;
      &lt;div class="left"&gt;Email:&lt;div&gt;&lt;input name="mailfrom" type="text" onDblClick="MM_validateForm('email','','NisEmail');return document.MM_returnValue" size="40" /&gt;&lt;/div&gt;&lt;/div&gt;
      &lt;div class="left"&gt;Street:&lt;div&gt;&lt;input name="street" type="text" id="street" onDbleClick="MM_validateForm('street','','R');return document.MM_returnValue" size="40" /&gt;&lt;/div&gt;&lt;/div&gt;
      &lt;div class="left"&gt;City:&lt;div&gt;&lt;input name="city" type="text" id="city" onDbleClick="MM_validateForm('city','','R');return document.MM_returnValue" size="40" /&gt;&lt;/div&gt;&lt;/div&gt;
      &lt;div class="left"&gt;State:&lt;div&gt;&lt;input name="state" type="text" id="state" onDblClick="MM_validateForm('state','','R');return document.MM_returnValue" size="10" /&gt; Zip:
        &lt;input name="zip" type="text" id="zip" onDblClick="MM_validateForm('zip','','R');return document.MM_returnValue" size="15" /&gt;
      &lt;/div&gt;&lt;/div&gt;
      &lt;div class="left"&gt;Country:&lt;div&gt;&lt;input name="country" type="text" id="country" onDblClick="MM_validateForm('country','','R');return document.MM_returnValue" size="40" /&gt;&lt;/div&gt;&lt;/div&gt;
      &lt;div class="left"&gt;Phone:&lt;div&gt;&lt;input name="phone" type="text" id="phone" onDblClick="MM_validateForm('phone','','R');return document.MM_returnValue" size="40" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;
  
      &lt;p&gt;The fields above are REQUIRED&lt;br&gt;
      &lt;strong&gt;How did you hear about AirKrete&lt;span style="font-size:11.0pt; "&gt;®&lt;/span&gt;? &lt;br&gt;
      Please make a selection.&lt;span id="sprycheckbox1"&gt;&lt;span class="checkboxRequiredMsg"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div class="radiox"&gt;&lt;label&gt;&lt;input type="radio" name="Connection" value="friend" id="Connection_0"&gt;Friend&lt;/label&gt;&lt;/div&gt;
      &lt;div class="radiox"&gt;&lt;label&gt;&lt;input type="radio" name="Connection" value="jobspec" id="Connection_1"&gt;Job Specification&lt;/label&gt;&lt;/div&gt;
      &lt;div class="radiox"&gt;&lt;label&gt;&lt;input type="radio" name="Connection" value="hgtv" id="Connection_2"&gt;HGTV Promotion&lt;/label&gt;&lt;/div&gt;
      &lt;div class="radiox"&gt;&lt;label&gt;&lt;input type="radio" name="Connection" value="web" id="Connection_3"&gt;Web Browsing&lt;/label&gt;&lt;/div&gt;
      &lt;div class="radiox"&gt;&lt;label&gt;&lt;input type="radio" name="Connection" value="radio" id="Connection_4"&gt;Radio&lt;/label&gt;&lt;/div&gt;
      &lt;div class="radiox"&gt;&lt;label&gt;&lt;input type="radio" name="Connection" value="tv" id="Connection_5"&gt;TV&lt;/label&gt;&lt;/div&gt;
      &lt;div class="radiox"&gt;&lt;label&gt;&lt;input type="radio" name="Connection" value="other" id="Connection_6"&gt;Other&lt;/label&gt;&lt;/div&gt;&lt;/p&gt;
      &lt;p class="clear-fix"&gt;&amp;nbsp;&lt;/p&gt;
      &lt;div&gt;&lt;p&gt;&lt;strong&gt;Comments:&lt;/strong&gt;&lt;br&gt;&lt;/p&gt;&lt;/div&gt;
      &lt;p&gt;&lt;textarea name="Comments" cols="43" rows="10" id="Comments"&gt;&lt;/textarea&gt;&lt;/p&gt;
      &lt;p&gt;&lt;label&gt;If you have Attachments....&lt;/label&gt;&lt;/p&gt;
      &lt;p&gt;&lt;input name="file_attachment" type="file" size="30" /&gt;&lt;/p&gt;
      &lt;p&gt;When completed please click Send Email Button&lt;/p&gt;
        &lt;input name="sendtoemail" type="hidden" id="sendtoemail" value="info@airkrete.com" /&gt;
        &lt;input type="submit" onClick="MM_validateForm('name','','R','zip','','R','phone','','R');return document.MM_returnValue" value="Send Email" /&gt;
  
        &lt;input type="hidden" name="redirect" value="http://www.airkrete.com/airkrete_thankyou.php" /&gt;&lt;p&gt;Thank You&lt;/p&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>If you know what I'm doing wrong here, some advice would be greatly appreciated. Thank you.</p>