php contact form

Hi there,
I am trying to create a contact form and for whatever is written to be sent to my email.
So far this is my code:

<h3 class="title">Contact Form</h3> <div class="wrapper"> <form action="#" id="contact-form"> <fieldset> <div class="wrapper"> <div class="success"> Contact form submitted! <br> <strong class="color-1">We will be in touch soon.</strong> </div> </div> <div class="field"> <label class="name"> <input type="text" value="Name:"> <span class="error">*This is not a valid name.</span> <span class="empty">*This field is required.</span> </label> </div> <div class="field"> <label class="email"> <input type="text" value="Email:"> <span class="error">*This is not a valid email address.</span> <span class="empty">*This field is required.</span> </label> </div> <div class="field"> <label class="phone"> <input type="tel" value="Phone:"> <span class="error">*This is not a valid phone number.</span> <span class="empty">*This field is required.</span> </label> </div> <div class="area"> <label class="message"> <textarea>Message:</textarea> <span class="error">*The message is too short.</span> <span class="empty">*This field is required.</span> </label> </div> <div class="clear"></div> <div class="buttons-wrapper"> <a href="#" class="button" data-type="reset">Clear</a> <a href="#" class="button" data-type="submit">Send</a> </div> </fieldset> </form>

Please help! Thanks :slight_smile:

Do a search on email form and look at the other and how they done theirs I am sure you will get some code to work with then we will help you out.

You do not say what the problem with your form is ?

Basically all i have is the above code in HTML and i am not sure what to put after that,
I have tried to google the answer but every time i do they give me fresh code and it rids me of my styling.
Any help would be apreciated :slight_smile:

Sponsor our Newsletter | Privacy Policy | Terms of Service