Getting a form to work on a website template

M

Merchant UK

Hi all I have the following code on my contact us page

HTML:
  <div class="main">
     <div class="wrap">
        <div class="section group">
                <div class="col span_2_of_3">
                  <div class="contact-form">
                      <h3>Contact Us</h3>
                        <form method="post" action="contact-post.html">
                            <div>
                                <span><label>Name</label></span>
                                <span><input name="userName" type="text" class="textbox"></span>
                            </div>
                            <div>
                                <span><label>E-Mail</label></span>
                                <span><input name="userEmail" type="text" class="textbox"></span>
                            </div>
                            <div>
                                 <span><label>Mobile</label></span>
                                <span><input name="userPhone" type="text" class="textbox"></span>
                            </div>
                            <div>
                                <span><label>Subject</label></span>
                                <span><textarea name="userMsg"> </textarea></span>
                            </div>
                           <div>
                                   <a href="#" class="btn btn-primary btn1">Submit</a>
                          </div>
                        </form>
                  </div>
                  </div>
                <div class="col span_1_of_3">
                    <div class="contact_info">

However i do not know how to edit it so that i can email myself all the form contents I've tried to add my email address to here

<a href="#" class="btn btn-primary btn1">Submit</a>

but with no luck and when i add the Mailto: command it just takes me to a blank email?? Can anyone help me get my customers comments to my email address :confused:

Thanks again guys
 
M

Merchant UK

Ok, so you would probably guess i'm not very good at websites but, all i need to know is how to get the form working like i have already, The Code is in the first post surely someone can tell me how to send this form in HTML ?

Thanks
 
Upvote 0

Latest Articles

Join UK Business Forums for free business advice