title: Form Validation not working with tel, email and select
body: <p>I use Dreamweaver to write my html code, but now have run into a problem.</p>
  
  <p>I have created an enquiry form which contains several different fields, but when I try to validate the form using Window | Behavior | Validate Form, it only shows my "firstname", "lastname", "Datepicker1", "Datepicker2" as well as the "Comments" field. </p>
  
  <p>I want to make sure that the telephone, email and select fields are required and will be filled by a number and an email address. It worked fine when I made the contact form, but for some reason it does not in the enquiry.</p>
  
  <p>My code is as follows:</p>
  
  <pre><code>&lt;form action="../../enquiryform.php" method="post" id="enquiry"&gt;
          &lt;h1&gt;ENQUIRE ABOUT&lt;br&gt;&lt;span style="color:#816122"&gt;VILLA 2610&lt;/span&gt;&lt;/h1&gt;
          &lt;input type="hidden" name="villaid" id="villaid" value="2610"&gt;
          &lt;br&gt;
          Arrival Date&lt;br&gt;
          &lt;input type="text" name="arrivaldate" id="Datepicker1"&gt;
          &lt;br&gt;Departure Date&lt;br&gt;
          &lt;input type="text" name="departuredate" id="Datepicker2"&gt;&lt;br&gt;
          First Name
          &lt;input type="text" name="firstname" id="firstname"&gt;&lt;br&gt;
          Last Name
          &lt;input type="text" name="lastname" id="lastname"&gt;&lt;br&gt;
          Telephone
          &lt;input type="tel" name="tel" id="tel"&gt;&lt;br&gt;
          Email
          &lt;input type="email" name="email" id="email"&gt;&lt;br&gt;
          &lt;div class="leftcolumn"&gt;Adults&lt;br&gt;
          &lt;select name="adults" id="adults"&gt;
          &lt;option value=""&gt; &lt;/option&gt;
            &lt;option value="1"&gt;1&lt;/option&gt;
            &lt;option value="2"&gt;2&lt;/option&gt;
            &lt;option value="3"&gt;3&lt;/option&gt;
            &lt;option value="4"&gt;4&lt;/option&gt;
            &lt;option value="5"&gt;5&lt;/option&gt;
            &lt;option value="6"&gt;6&lt;/option&gt;
            &lt;option value="7"&gt;7&lt;/option&gt;
            &lt;option value="8"&gt;8&lt;/option&gt;
            &lt;option value="9"&gt;9&lt;/option&gt;
            &lt;option value="10+"&gt;10+&lt;/option&gt;
          &lt;/select&gt;
          &lt;/div&gt;
          &lt;div class="rightcolumn"&gt;Children&lt;br&gt;
          &lt;select name="children" id="children"&gt;
            &lt;option value=""&gt; &lt;/option&gt;
            &lt;option value="1"&gt;1&lt;/option&gt;
            &lt;option value="2"&gt;2&lt;/option&gt;
            &lt;option value="3"&gt;3&lt;/option&gt;
            &lt;option value="4"&gt;4&lt;/option&gt;
            &lt;option value="5"&gt;5&lt;/option&gt;
            &lt;option value="6"&gt;6&lt;/option&gt;
            &lt;option value="7"&gt;7&lt;/option&gt;
            &lt;option value="8"&gt;8&lt;/option&gt;
            &lt;option value="9"&gt;9&lt;/option&gt;
            &lt;option value="10+"&gt;10+&lt;/option&gt;
          &lt;/select&gt;
          &lt;/div&gt;
          Comments (optional)&lt;br&gt;
          &lt;textarea name="comments" id="comments" wrap="soft" style="width:150px; height:100px;"&gt;&lt;/textarea&gt;&lt;br&gt;
          &lt;p class="antispam"&gt;Leave this empty: &lt;input name="url" type="text" id="url" /&gt;&lt;/p&gt;
          &lt;input type="submit" value="Send" style="background-color:#aa802c; color:#FFFFFF; border-radius:5px; text-align:center; cursor:pointer;"&gt;&lt;br&gt;&lt;br&gt;
  </code></pre>
  
  <p>
              </p>
  
  <p>I have added the following inside the starting form bracket:</p>
  
  <pre><code>onSubmit="MM_validateForm('firstname','','R','lastname','','R');return document.MM_returnValue"
  </code></pre>
  
  <p>But what should I use for a telephone number, email address as well as the 2 select options that I have?</p>
  
  <p>My suggestion is</p>
  
  <pre><code>onSubmit="MM_validateForm('firstname','','R','lastname','','R','tel','','RisNum','email','','RisEmail',);return document.MM_returnValue"
  </code></pre>
  
  <p>But how do I add that I require for my viewers to select children and adults options?
  And are my thoughts above correct?</p>