Skip to content

Instantly share code, notes, and snippets.

@BolajiAyodeji
Last active June 5, 2019 14:15
Show Gist options
  • Save BolajiAyodeji/5fb88278f28302423d657c9a91d2e3f8 to your computer and use it in GitHub Desktop.
Save BolajiAyodeji/5fb88278f28302423d657c9a91d2e3f8 to your computer and use it in GitHub Desktop.
<form action="https://formspree.io/you@email.com" method="POST">
<input type="hidden" name="_subject" value="Bolaji's Form">
<input type="hidden" name="_next" value="/thanks.html" >
<div class="form-group">
<label>Name:</label>
<input type="text" class="form-control" id="name" placeholder="Name">
<div class="invalid-feedback">
Name must be between 2 and 20 characters
</div>
</div>
<div class="form-group">
<label>Email:</label>
<input type="text" class="form-control" id="email" placeholder="Email address">
<div class="invalid-feedback">
Enter a valid email address
</div>
</div>
<div class="form-group">
<label>Telephone:</label>
<input type="text" class="form-control" id="phone" placeholder="Phone number">
<div class="invalid-feedback">
Enter a valid number
</div>
</div>
<input type="submit" value="Send" class="btn btn-info btn-block">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment