-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from ariestiyansyah/master
Contact form using functional html forms
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -556,32 +556,32 @@ <h3 class="section-subheading text-muted"> </h3> | |
</div> | ||
<div class="row"> | ||
<div class="col-lg-12"> | ||
<form name="sentMessage" id="contactForm" novalidate> | ||
<form action="http://formspree.io/[email protected]" role="form" method="POST" novalidate> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<div class="form-group"> | ||
<input type="text" class="form-control" placeholder="Your Name *" id="name" required data-validation-required-message="Please enter your name."> | ||
<input type="text" name="name "class="form-control" placeholder="Your Name *" required data-validation-required-message="Please enter your name."> | ||
<p class="help-block text-danger"></p> | ||
</div> | ||
<div class="form-group"> | ||
<input type="email" class="form-control" placeholder="Your Email *" id="email" required data-validation-required-message="Please enter your email address."> | ||
<input type="email" name="_replyto" class="form-control" placeholder="Your Email *" required data-validation-required-message="Please enter your email address."> | ||
<p class="help-block text-danger"></p> | ||
</div> | ||
<div class="form-group"> | ||
<input type="tel" class="form-control" placeholder="Your Phone *" id="phone" required data-validation-required-message="Please enter your phone number."> | ||
<input type="tel" name="phone" class="form-control" placeholder="Your Phone *" required data-validation-required-message="Please enter your phone number."> | ||
<p class="help-block text-danger"></p> | ||
</div> | ||
</div> | ||
<div class="col-md-6"> | ||
<div class="form-group"> | ||
<textarea class="form-control" placeholder="Your Message *" id="message" required data-validation-required-message="Please enter a message."></textarea> | ||
<textarea name="body" class="form-control" placeholder="Your Message *" required data-validation-required-message="Please enter a message."></textarea> | ||
<p class="help-block text-danger"></p> | ||
</div> | ||
</div> | ||
<div class="clearfix"></div> | ||
<div class="col-lg-12 text-center"> | ||
<div id="success"></div> | ||
<button type="submit" class="btn btn-xl">Send Message</button> | ||
<input type="submit" class="btn btn-xl" value="Send Message"> | ||
</div> | ||
</div> | ||
</form> | ||
|