updates to all forms

This commit is contained in:
Chris Cochrun 2022-11-11 21:22:26 -06:00
parent 20dcbb82ab
commit a728b4273c
4 changed files with 11 additions and 28 deletions

View file

@ -7,7 +7,7 @@
const data = new FormData(form);
var xhr = new XMLHttpRequest();
xhr.open("POST", "https://n8n.tfcconnection.org/webhook/mt-parent-form");
xhr.open("POST", "https://n8n.tfcconnection.org/webhook-test/mt-teacher-form");
xhr.send(data);
console.log(data);
console.log("Hallo!");
@ -76,24 +76,6 @@
class="form-input w-full h-64 {{ $formClasses }}"
placeholder=""></textarea>
</div>
<div class="basis-full mt-10">
<label for="previous-trip-info" class="p-4">
If your teen has been on a previous Mission Trip, describe any positive or negative changes you noticed in their lives.
</label>
<br/>
<textarea id="previous-trip-info" name="previous-trip-info"
class="form-input w-full h-64 {{ $formClasses }}"
placeholder=""></textarea>
</div>
<div class="basis-full mt-10">
<label for="trip-feelings" class="p-4">
Please tell us any negative or positive feelings you have about your teenager being involved in this trip:
</label>
<br/>
<textarea id="trip-feelings" name="trip-feelings"
class="form-input w-full h-64 {{ $formClasses }}"
placeholder=""></textarea>
</div>
<div class="basis-full mt-10">
<label for="extra-info" class="p-4">
What else would you like to tell us about your teenager that might be relevant as we consider them for a Mission Trip?
@ -103,7 +85,7 @@
class="form-input w-full h-64 {{ $formClasses }}"
placeholder=""></textarea>
</div>
<div class="basis-full">
<div class="basis-full mt-8">
<button type="submit" class="content-right rounded-lg bg-primary-700 h-12 w-24 focus:bg-primary-900 focus:ring focus:ring-primary-700 hover:bg-primary-900 float-right">Submit</button>
</div>
</form>