8 Replies Latest reply: Nov 14, 2012 2:55 PM by liolee08 RSS

    Form with submit button - doesn't work... why?

    liolee08

      I spent so much time trying to figure out what I'm doing wrong, I'm ready to give up, but I can't give up! Can you help me? This is my first time making a form in DW CS5.

      Here's the info I put in the form:

      - action: /webformmailer.php

      - Method: POST

       

      Here's the form:

      http://www.azvacationhomerentals.com/ContactUs_Guest.html

       

       

      Here's the code:

      |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||||

       

      <form action="/webformmailer.php" method="post" name="Guest_Form" target="_blank" id="Guest_Form">

            <table width="550" border="0">

                <tr>

                  <td width="229"><p>*Name:</p></td>

                  <td width="311"><p>

                    <input name="Name" type="text" id="Name" size="45" />

                  </p></td>

                </tr>

                <tr>

                  <td><p>Preferred Dates of Stay:</p></td>

                  <td><p>

                    <input name="Dates_preferred" type="text" id="Dates_preferred" size="45" />

                  </p></td>

                </tr>

                <tr>

                  <td><p>*Preferred City of Stay:</p></td>

                  <td><p>

                    <select name="City_preferred" id="City_preferred">

                      <option>Chandler</option>

                      <option>Gilbert</option>

                      <option>Mesa</option>

                      <option>Tempe</option>

                    </select>

                  </p></td>

                </tr>

                <tr>

                  <td><p>*Number in Party:</p></td>

                  <td><p>Adults

                    <select name="Adults_num" id="Adults_num">

                      <option value="0" selected="selected">0</option>

                      <option value="1">1</option>

                      <option value="2">2</option>

                      <option value="3">3</option>

                      <option value="4">4</option>

                      <option value="5">5</option>

                      <option value="6">6</option>

                      <option value="7">7</option>

                      <option value="8">8</option>

                      <option value="9">9</option>

                      <option value="10+">10+</option>

                    </select>

                      Children

                  <select name="Children_num" id="Children_num">

                    <option value="0" selected="selected">0</option>

                    <option value="1">1</option>

                    <option value="2">2</option>

                    <option value="3">3</option>

                    <option value="4">4</option>

                    <option value="5">5</option>

                    <option value="6">6</option>

                    <option value="7">7</option>

                    <option value="8">8</option>

                    <option value="9">9</option>

                    <option value="10+">10+</option>

                  </select>

                  </p></td>

                </tr>

                <tr>

                  <td><p>*Pets?</p></td>

                  <td><p>Yes

                   

                    <input name="radio" type="radio" id="Pets_yes" value="Pets_yes" />

                     No

                  <input type="radio" name="radio" id="Pets_no" value="Pets_no" />

                  </p></td>

                </tr>

                <tr>

                  <td><p>if yes:</p></td>

                  <td><p>Dog 

                    <select name="Dog_num" id="Dog_num">

                      <option value="0" selected="selected">0</option>

                      <option value="1">1</option>

                      <option value="2">2</option>

                      <option value="3">3</option>

                      <option value="4">4</option>

                      <option value="5+">5+</option>

                    </select>

                   Cat

                  <select name="Cat_num" id="Cat_num">

                    <option value="0" selected="selected">0</option>

                    <option value="1">1</option>

                    <option value="2">2</option>

                    <option value="3">3</option>

                    <option value="4">4</option>

                    <option value="5+">5+</option>

                  </select>

                  </p></td>

                </tr>

                <tr>

                  <td><p>*Contact Email:</p></td>

                  <td><p>

                    <input name="Contact_email" type="text" id="Contact_email" size="45" />

                  </p></td>

                </tr>

                <tr>

                  <td><p>Contact Phone:</p></td>

                  <td><p>

                    <input name="Contact_Phone" type="text" id="Contact_Phone" size="45" />

                  </p></td>

                </tr>

                <tr>

                  <td><p> </p></td>

                  <td><p>

                    <input name="Submit" type="submit" id="Submit" value="Submit" />

                  </p></td>

                </tr>

              </table>

              <p> </p>

        </form>

       

      |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||||||

       

      What am I missing?

       

      Thanks!