We help IT Professionals succeed at work.
Get Started

Help with a website contact form

913 Views
Last Modified: 2012-05-07
hi.  I am working on a website and am very much a newbie.  I purchased a website template that i like, and i am working on it in WE 2.  My problem is that i am having trouble figuring out how to make the form submit to an email address on click.  The code i am working with is attached.
Where and what do i put in to make the form email itself to me?
<div class="style1">Use this handy form!&nbsp; We will be back in touch right away!</div>
                <form action="" id="contact-form">
                  <div class="wrapper">
                    <textarea rows="" cols="">Message: </textarea>
                    <label>
                    <input type="text" value="Name: " />
                    </label>
                    <label>
                    <input type="text" value="Your E-mail: " />
                    </label>
                    <label>
                    <input type="text" value="Your phone #: " />
                    </label>
                    <div class="clear"></div>
                    <a href="#" onclick="document.getElementById('contact-form').submit()"><span><span>send</span></span></a> <a href="#" onclick="document.getElementById('contact-form').reset()"><span><span>clear</span></span></a> </div>

Open in new window

Comment
Watch Question
Commented:
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE