mirror of
https://github.com/skoobasteeve/rayandgwen-wedding.git
synced 2026-03-22 07:48:56 +00:00
Merge pull request #1 from skoobasteeve/form-testing
conditional field example
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -6,6 +6,9 @@
|
|||||||
*.sublime-project
|
*.sublime-project
|
||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
|
|
||||||
|
# VS Code
|
||||||
|
*.code-workspace
|
||||||
|
|
||||||
# Ruby Gem
|
# Ruby Gem
|
||||||
*.gem
|
*.gem
|
||||||
.bundle
|
.bundle
|
||||||
|
|||||||
@@ -9,3 +9,30 @@ header:
|
|||||||
overlay_filter: "0.5"
|
overlay_filter: "0.5"
|
||||||
overlay_image: /assets/images/banner.jpg
|
overlay_image: /assets/images/banner.jpg
|
||||||
---
|
---
|
||||||
|
|
||||||
|
# RSVP
|
||||||
|
|
||||||
|
<form name="rsvp" action="/success/" netlify>
|
||||||
|
<p>
|
||||||
|
<label>Guest #1 <input type="text" name="name" required/></label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>Guest #2 (if applicable) <input type="text" name="email" /></label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>Email <input type="email" name="email" required/></label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label for="attendance">Will you be attending?</label>
|
||||||
|
<select class="form-control" id="attendance">
|
||||||
|
<option value="yes">Yes</option>
|
||||||
|
<option value="no">No</option>
|
||||||
|
</select>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>Questions / Comments <input type="text" name="email" /></label>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<button type="submit">Send</button>
|
||||||
|
</p>
|
||||||
|
</form>
|
||||||
|
|||||||
17
_pages/success.md
Normal file
17
_pages/success.md
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
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)
|
||||||
|
|
||||||
|
|
||||||
|
{: height="800px" width="800px"}
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"folders": [
|
|
||||||
{
|
|
||||||
"path": ".."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "../../skoobasteeve.github.io.2"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"settings": {}
|
|
||||||
}
|
|
||||||
BIN
assets/images/success.jpg
Normal file
BIN
assets/images/success.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.8 MiB |
Reference in New Issue
Block a user