Emails - JWalshe86/nags-with-notions4 GitHub Wiki
Going to start by following this youtube clip
Add this form taken from formsubmit.co
<form action="https://formsubmit.co/[email protected]" method="POST">
<input type="text" name="name" required>
<input type="email" name="email" required>
<button type="submit">Send</button>
</form>

Created a thank you page for when the user submits a form
<input type="hidden" name="_next" value="http://nagswithnotions.ie/templates/thankyou.html">

On live site


🎉

Taking the code below from bootstrap forms
<form>
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
</div>
<div class="form-group form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Check me out</label>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
Remove & edit some pieces:
<form action="https://formsubmit.co/[email protected]" method="POST">
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
<div class="form-group">
<label for="exampleFormControlTextarea1">Example textarea</label>
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
<input type="hidden" name="_subject" value="New email woooo!">
<input type="hidden" name="_next" value="http://nagswithnotions.ie/templates/thankyou.html">
</form>
May need to do this as form is too wide

Using a container appears to have centered form


Some extra css on the container appears to have centered it

