Jump to content

Recommended Posts

I have a web page which I am trying to get the submit button to work, I think I need php but I am not sure.

 

Page I am trying to submit is below when submitted to email then produce a page called Confirmation.html

 

everything works except the email!

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

 

<html>

 

<head>

 

</head>

 

<body>

 

 

 

<table width="80%" border="0">

 

  <tr>

    <td><form action="Confirmation.html" method="get" enctype="multipart/form-data" name="form1" target="_parent">

      <label>

      <h4>Name

        <select name="Salutation" size="1" id="Salutation">

        <option selected>Mr</option>

        <option>Miss</option>

        <option>Mrs</option>

        <option>Ms</option>

      </select>

        <input name="First" type="text" id="First" size="25">

        <input name="Last" type="text" id="Last" size="40"></h4>

      <label></label>

     

     

     

        <label><h4>Date of your Wedding

          <input type="text" name="DOW" id="DOW">

        and the time

        <input type="text" name="Time" id="Time">

        </h4>

        <h4>Name of Church or Venue

          <input name="Loc of Wedd" type="text" id="Loc of Wedd" size="75">

        </h4>

        <h4>Reception

          <input name="Reception" type="text" id="Reception" size="75">

        </h4>

        <h4>Number of Bridesmaids

          <select name="Bridesmaids" id="Bridesmaids">

            <option>1</option>

            <option>2</option>

            <option>3</option>

            <option>4</option>

            <option>5</option>

            <option>6</option>

            <option selected>0</option>

            <option>Other</option>

          </select>

Pageboys

<select name="Pageboys" id="Pageboys">

  <option>1</option>

  <option>2</option>

  <option>3</option>

  <option selected>0</option>

  <option>Other</option>

</select>

 

 

<label>Ushers

<select name="Ushers" id="Ushers">

  <option>1</option>

  <option>2</option>

  <option>3</option>

  <option>4</option>

  <option>5</option>

  <option>Other</option>

  <option selected>0</option>

</select>

</label>

<label>Wedding guests

<select name="No of guests" id="No of guests">

  <option>40-50</option>

  <option>50-60</option>

  <option>60-70</option>

  <option>70-80</option>

  <option>80-90</option>

  <option>100+</option>

  <option selected> </option>

</select>

</label>

</h4>

        <h4>Your Contact Details</h4>

         

 

       

        <label><h4>Your email

          <input name="Your Email" type="text" id="Your Email" size="75">

        and phone

        <input name="Phone" type="text" id="Phone" size="11" maxlength="11">

        </h4>

        </label>

       

        <label>

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

        </label>

        <label>

        <input type="reset" name="Reset" id="Reset" value="Reset">

        </label>

    </form>    </td>

  </tr>

  <tr>

    <td> </td>

  </tr>

  <tr>

    <td> </td>

  </tr>

</table>

 

</div>

 

</body>

 

</html>

 

 

Thank you in advance

Link to comment
https://forums.phpfreaks.com/topic/112905-submitting-a-form-to-an-email/
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.