working submission form

This commit is contained in:
2020-10-18 22:17:09 -04:00
parent fe2c18e5aa
commit 9b9df16c76
4 changed files with 43 additions and 62 deletions

3
.gitignore vendored
View File

@@ -6,6 +6,9 @@
*.sublime-project *.sublime-project
*.sublime-workspace *.sublime-workspace
# VS Code
*.code-workspace
# Ruby Gem # Ruby Gem
*.gem *.gem
.bundle .bundle

View File

@@ -10,55 +10,29 @@ header:
overlay_image: /assets/images/banner.jpg overlay_image: /assets/images/banner.jpg
--- ---
<form class="p-3"> # RSVP
<div class="form-group">
<label for="name">Name</label> <form name="contact" action="/success/" netlify>
<input type="text" class="form-control" id="name" placeholder="Joe Smith"> <p>
</div> <label>Guest #1 <input type="text" name="name" /></label>
</p>
<div class="form-group"> <p>
<label for="seeAnotherField">Do You Want To See Another Field?</label> <label>Guest #2 (if applicable) <input type="text" name="email" /></label>
<select class="form-control" id="seeAnotherField"> </p>
<option value="no">No Way.</option> <p>
<option value="yes">Absolutely!</option> <label>Email <input type="email" name="email" /></label>
</select> </p>
</div> <p>
<label for="attendance">Will you be attending?</label>
<div class="form-group" id="otherFieldDiv"> <select class="form-control" id="attendance">
<label for="otherField">Here you go!</label> <option value="yes">Yes</option>
<select class="form-control" id="otherField"> <option value="no">No</option>
<option>Yay</option> </select>
<option>Woo</option> </p>
<option>Hazah</option> <p>
<option>Yipee</option> <label>Questions / Comments <input type="text" name="email" /></label>
<option>Hoorah</option> </p>
</select> <p>
</div> <button type="submit">Send</button>
</p>
<div class="form-group">
<label for="seeAnotherFieldGroup">Do You Want To See Another Group of Fields?</label>
<select class="form-control" id="seeAnotherFieldGroup">
<option value="no">Not Particularly.</option>
<option value="yes">I Guess!</option>
</select>
</div>
<div class="form-group" id="otherFieldGroupDiv">
<div class="row">
<div class="col-6">
<label for="otherField1">Group: Heres One!</label>
<input type="text" class="form-control w-100" id="otherField1">
</div>
<div class="col-6">
<label for="otherField2">Group: Another One!</label>
<input type="text" class="form-control w-100" id="otherField2">
</div>
</div>
</div>
<div class="form-group">
<label for="comments">Comments/Questions</label>
<textarea class="form-control" id="comments" rows="3"></textarea>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form> </form>

15
_pages/success.md Normal file
View File

@@ -0,0 +1,15 @@
---
title: "Ray and Gwen's 2021 Wedding Exxtravaganza!"
layout: splash
permalink: /success/
author_profile: false
masthead: false
header:
overlay_color: "#000"
overlay_filter: "0.5"
overlay_image: /assets/images/banner.jpg
---
# Thanks for your RSVP!
Go back [home](../index.html)

View File

@@ -1,11 +0,0 @@
{
"folders": [
{
"path": ".."
},
{
"path": "../../skoobasteeve.github.io.2"
}
],
"settings": {}
}