Contact form issue

Michael James Swan's picture

He has: 400 posts

Joined: May 2008

Hey All,

I am having trouble making this contact form work.

No PHP file for the form to submit, etc.

Anyone free to lend a hand?

<!-- Contact Us Form -->
<section class="contact_body">
<div class="container">
<div class="row comtact_space_margin">
<div class="col-md-8">
<div class="row">
<div class="col-md-12">
<h3 class="form_title">Leave me a Message</h3>
</div>
</div>
<div class="row form_input_margin">
<div class="col-md-6">
<input type="text" class="form-control input_text" placeholder="Your Name*">
</div>
<div class="col-md-6">
<input type="email" class="form-control input_text" placeholder="Your E-Mail*">
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="form-group">
<div class="form_text_area">
<textarea class="form-control input_text" rows="6" placeholder="Write Your Message*"></textarea>
</div>
<div class="form_button">
<button type="button" class="btn btn-default pull-right custom_form_button">SUBMIT YOUR MESSAGE</button>
</div>
</div>
</div>
</div>
</div>

^^^ That is the contact form HTML.

Just need to make it work.

Missing the "post" parts, etc...

Mike

They have: 1 posts

Joined: Sep 2014

Put all in a form better add submit
input type="submit" name="submit"

and:
?php
if($_POST['submit']){
//take the vars and do what yu prefer

}
?>

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.