"Clean simple contact form"
Bootstrap 2.3.2 Snippet by msurguy

<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="span6"> <form> <div class="controls controls-row"> <input id="name" name="name" type="text" class="span3" placeholder="Name"> <input id="email" name="email" type="email" class="span3" placeholder="Email address"> </div> <div class="controls"> <textarea id="message" name="message" class="span6" placeholder="Your Message" rows="5"></textarea> </div> <div class="controls"> <button id="contact-submit" type="submit" class="btn btn-primary input-medium pull-right">Send</button> </div> </form> </div> </div> </div>

Related: See More


Questions / Comments:

Where could I find suitable php script for this email contact form. I have been trying a few non seem to work

MWB Computers (0) - 4 years ago - Reply 0


I use Laravel PHP framework for all my PHP needs so I highly recommend it as a framework underlying your PHP contact form or applications. You can check it out at http://laravel.com.

maxsurguy (0) - 4 years ago - Reply 0


Should have another <div class="span6"></div> to finish the row and/or <div class="row"> <...code...> </div> to finish row. Without this extra code, following elements will butt up against the right side of this form, like a site footer.

Logan Schmidt (0) - 4 years ago - Reply 0


This is wonderful, thanks! http://www.proinsurer.com.u... i'm happy ;)

Creative Thebest (0) - 5 years ago - Reply 0


Great implementation of this code :)

Logan Schmidt (0) - 4 years ago - Reply 0


Hi, probably a dumb question but how/where do you add/change the destination of the email, ie contact@mywebsite.com

papa (0) - 5 years ago - Reply 0


That would be in PHP file that sends the email

maxsurguy (0) - 5 years ago - Reply 0


I am sorry but I cannot find it where... :/ can you help?

Honzalive (0) - 4 years ago - Reply 0


Email code can be very freaky. With most inbox's dumping anything suspicious, so if you plan on using an email script you have to have a domain name tied to the From: email field. You would have much better luck with contact forms being submitted to a database and an Admin page to review and respond to all the requests. Look into Basic MySQL queries in PHP and start there. Best of luck to you.

Logan Schmidt (0) - 4 years ago - Reply 0