2022-05-12 21:17:35 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Meet with Vicky Rampin</title>
|
|
|
|
<meta content="">
|
2022-05-12 21:20:58 +00:00
|
|
|
<link rel="stylesheet" href=".bootstrap/bootstrap.min.css">
|
2022-05-12 21:17:35 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2022-05-12 21:23:04 +00:00
|
|
|
<div class="container px-5 my-5">
|
2022-05-13 03:31:41 +00:00
|
|
|
<form id="contactForm" action="https://contact.vicky.rampin.org/book" method="POST">
|
2022-05-12 21:17:35 +00:00
|
|
|
<div class="mb-3">
|
2022-05-12 22:32:40 +00:00
|
|
|
<label class="form-label" for="name">Full name</label>
|
2022-05-13 03:31:12 +00:00
|
|
|
<input class="form-control" id="name" name="name" type="text" placeholder="Full name" />
|
2022-05-12 21:17:35 +00:00
|
|
|
</div>
|
|
|
|
<div class="mb-3">
|
2022-05-12 22:32:40 +00:00
|
|
|
<label class="form-label" for="email">Email address</label>
|
2022-05-13 03:31:12 +00:00
|
|
|
<input class="form-control" id="email" name="email" type="email" placeholder="Email address" />
|
2022-05-12 21:17:35 +00:00
|
|
|
</div>
|
|
|
|
<div class="mb-3">
|
2022-05-12 22:32:40 +00:00
|
|
|
<label class="form-label" for="topic">What would you like to discuss?</label>
|
2022-05-13 03:31:12 +00:00
|
|
|
<textarea class="form-control" id="topic" name="topic" placeholder="What would you like to discuss?" style="height: 10rem;"></textarea>
|
2022-05-12 21:17:35 +00:00
|
|
|
</div>
|
2022-05-13 03:35:46 +00:00
|
|
|
<div class="mb-3" style="overflow-x: auto;">
|
2022-05-12 21:17:35 +00:00
|
|
|
<label class="form-label d-block">Which day and time works best for us to meet on Zoom?</label>
|
2022-05-13 03:31:41 +00:00
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th scope="col">Thursday 5/12</th>
|
|
|
|
<th scope="col">Friday 5/13</th>
|
|
|
|
<th scope="col">Monday 5/16</th>
|
|
|
|
<th scope="col">Tuesday 5/17</th>
|
|
|
|
<th scope="col">Wednesday 5/18</th>
|
|
|
|
<th scope="col">Thursday 5/19</th>
|
|
|
|
<th scope="col">Friday 5/20</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-12T09:00:00" value="2022-05-12T09:00:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-12T09:00:00">9:00</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-13T09:00:00" value="2022-05-13T09:00:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-13T09:00:00">9:00</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-16T09:00:00" value="2022-05-16T09:00:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-16T09:00:00">9:00</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-17T09:00:00" value="2022-05-17T09:00:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-17T09:00:00">9:00</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-18T09:00:00" value="2022-05-18T09:00:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-18T09:00:00">9:00</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-19T09:00:00" value="2022-05-19T09:00:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-19T09:00:00">9:00</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-20T09:00:00" value="2022-05-20T09:00:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-20T09:00:00">9:00</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-12T09:30:00" value="2022-05-12T09:30:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-12T09:30:00">9:30</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-13T09:30:00" value="2022-05-13T09:30:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-13T09:30:00">9:30</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-16T09:30:00" value="2022-05-16T09:30:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-16T09:30:00">9:30</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-17T09:30:00" value="2022-05-17T09:30:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-17T09:30:00">9:30</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-18T09:30:00" value="2022-05-18T09:30:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-18T09:30:00">9:30</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-19T09:30:00" value="2022-05-19T09:30:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-19T09:30:00">9:30</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-20T09:30:00" value="2022-05-20T09:30:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-20T09:30:00">9:30</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-12T10:00:00" value="2022-05-12T10:00:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-12T10:00:00">10:00</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-13T10:00:00" value="2022-05-13T10:00:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-13T10:00:00">10:00</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-16T10:00:00" value="2022-05-16T10:00:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-16T10:00:00">10:00</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-17T10:00:00" value="2022-05-17T10:00:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-17T10:00:00">10:00</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-18T10:00:00" value="2022-05-18T10:00:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-18T10:00:00">10:00</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-19T10:00:00" value="2022-05-19T10:00:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-19T10:00:00">10:00</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-20T10:00:00" value="2022-05-20T10:00:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-20T10:00:00">10:00</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-12T10:30:00" value="2022-05-12T10:30:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-12T10:30:00">10:30</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-13T10:30:00" value="2022-05-13T10:30:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-13T10:30:00">10:30</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-16T10:30:00" value="2022-05-16T10:30:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-16T10:30:00">10:30</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-17T10:30:00" value="2022-05-17T10:30:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-17T10:30:00">10:30</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-18T10:30:00" value="2022-05-18T10:30:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-18T10:30:00">10:30</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-19T10:30:00" value="2022-05-19T10:30:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-19T10:30:00">10:30</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div class="form-check form-check-inline">
|
|
|
|
<input class="form-check-input" id="2022-05-20T10:30:00" value="2022-05-20T10:30:00" type="radio" name="date" />
|
|
|
|
<label class="form-check-label" for="2022-05-20T10:30:00">10:30</label>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2022-05-12 21:17:35 +00:00
|
|
|
</div>
|
|
|
|
<div class="d-grid">
|
|
|
|
<button class="btn btn-primary btn-lg disabled" id="submitButton" type="submit">Submit</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
2022-05-13 03:01:06 +00:00
|
|
|
<script src=".bootstrap/bootstrap.bundle.min.js"></script>
|
2022-05-13 03:31:41 +00:00
|
|
|
|
|
|
|
<script>
|
|
|
|
let contactForm = document.getElementById("contactForm");
|
|
|
|
|
|
|
|
function formValid() {
|
|
|
|
console.log("name: ", contactForm.name.value);
|
|
|
|
if(!contactForm.name.value) {
|
|
|
|
console.log("wrong name ", contactForm.name.value);
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
console.log("email: ", contactForm.email.value);
|
|
|
|
if(!contactForm.email.value) {
|
|
|
|
console.log("wrong email ", contactForm.email.value);
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
console.log("topic: ", contactForm.topic.value);
|
|
|
|
if(!contactForm.topic.value) {
|
|
|
|
console.log("wrong topic ", contactForm.topic.value);
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
console.log("date: ", contactForm.date.value);
|
|
|
|
if(!contactForm.date.value) {
|
|
|
|
console.log("wrong date ", contactForm.date.value);
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
contactForm.addEventListener("submit", function submitEventHandler(e) {
|
|
|
|
if(!formValid()) {
|
|
|
|
e.preventDefault();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
contactForm.addEventListener("change", function changeEventHandler(e) {
|
|
|
|
if(formValid()) {
|
|
|
|
console.log("change, valid=true");
|
|
|
|
document.getElementById("submitButton").classList.remove("disabled");
|
|
|
|
} else {
|
|
|
|
console.log("change, valid=false");
|
|
|
|
document.getElementById("submitButton").classList.add("disabled");
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2022-05-12 21:17:35 +00:00
|
|
|
</body>
|
|
|
|
</html>
|