Skip to content

Commit

Permalink
Used formspree.io for the contact form as php does not work on github.io
Browse files Browse the repository at this point in the history
  • Loading branch information
Salah Talamali committed Nov 25, 2020
1 parent c6db53b commit a50250f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -912,8 +912,10 @@ <h2>Website Address</h2>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 box-contact-form">

<form id="contact-form" method="post" action="contact.php">

<!-- <form id="contact-form" method="post" action="contact.php">-->

<form action="https://formspree.io/f/xrgoaeor" method="POST">

<div class="messages"></div> <!--you can change the message in contact.php file -->

<div class="controls">
Expand All @@ -927,7 +929,7 @@ <h2>Website Address</h2>
</div>
<div class="col-md-6">
<div class="form-group">
<input id="form_email" type="email" name="email" class="form-control" placeholder="Enter your email *" required="required" data-error="Valid email is required.">
<input id="form_email" type="email" name="_replyto" class="form-control" placeholder="Enter your email *" required="required" data-error="Valid email is required.">
<div class="help-block with-errors"></div>
</div>
</div>
Expand All @@ -940,13 +942,12 @@ <h2>Website Address</h2>
</div>
</div>
<div class="col-md-12">
<button class="btn btn-send" value="">Send message</button>
<button type="submit" class="btn btn-send" value="">Send message</button>
</div>
</div>
</div>

</form>

</div>


Expand Down

0 comments on commit a50250f

Please sign in to comment.