updates to all forms
This commit is contained in:
parent
20dcbb82ab
commit
a728b4273c
|
@ -7,7 +7,7 @@
|
||||||
const data = new FormData(form);
|
const data = new FormData(form);
|
||||||
|
|
||||||
var xhr = new XMLHttpRequest();
|
var xhr = new XMLHttpRequest();
|
||||||
xhr.open("POST", "https://n8n.tfcconnection.org/webhook/mt-church-form");
|
xhr.open("POST", "https://n8n.tfcconnection.org/webhook-test/mt-church-form");
|
||||||
xhr.send(data);
|
xhr.send(data);
|
||||||
console.log(data);
|
console.log(data);
|
||||||
console.log("Hallo!");
|
console.log("Hallo!");
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
class="form-input w-full h-64 {{ $formClasses }}"
|
class="form-input w-full h-64 {{ $formClasses }}"
|
||||||
placeholder=""></textarea>
|
placeholder=""></textarea>
|
||||||
</div>
|
</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>
|
<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>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -186,7 +186,8 @@
|
||||||
<div class="basis-full flex flex-wrap items-center">
|
<div class="basis-full flex flex-wrap items-center">
|
||||||
<input type="radio" id="churchattendance" name="churchattendance"
|
<input type="radio" id="churchattendance" name="churchattendance"
|
||||||
value="other" class="flex-none form-input {{ $formClasses }}">
|
value="other" class="flex-none form-input {{ $formClasses }}">
|
||||||
<input type="text" class="flex-auto form-input {{ $formClasses }}" placeholder="Other">
|
<input type="text" id="churchattendanceother" name="churchattendanceother"
|
||||||
|
class="flex-auto form-input {{ $formClasses }}" placeholder="Other">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="basis-full flex flex-wrap my-4">
|
<div class="basis-full flex flex-wrap my-4">
|
||||||
|
@ -331,7 +332,7 @@
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</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>
|
<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>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
const data = new FormData(form);
|
const data = new FormData(form);
|
||||||
|
|
||||||
var xhr = new XMLHttpRequest();
|
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-parent-form");
|
||||||
xhr.send(data);
|
xhr.send(data);
|
||||||
console.log(data);
|
console.log(data);
|
||||||
console.log("Hallo!");
|
console.log("Hallo!");
|
||||||
|
@ -39,11 +39,11 @@
|
||||||
pattern="^[a-zA-Z0-9]+(?:\.[a-zA-Z0-9]+)*@[a-zA-Z0-9]+(?:\.[a-zA-Z0-9]+)*$"
|
pattern="^[a-zA-Z0-9]+(?:\.[a-zA-Z0-9]+)*@[a-zA-Z0-9]+(?:\.[a-zA-Z0-9]+)*$"
|
||||||
class="basis-full form-input {{ $formClasses }}">
|
class="basis-full form-input {{ $formClasses }}">
|
||||||
<div class="basis-full mt-10">
|
<div class="basis-full mt-10">
|
||||||
<label for="tripnotes" class="p-4">
|
<label for="authority" class="p-4">
|
||||||
Describe how your teenager responds to authority (towards you and others):
|
Describe how your teenager responds to authority (towards you and others):
|
||||||
</label>
|
</label>
|
||||||
<br/>
|
<br/>
|
||||||
<textarea id="tripnotes" name="tripnotes"
|
<textarea id="authority" name="authority"
|
||||||
class="form-input w-full h-64 {{ $formClasses }}"
|
class="form-input w-full h-64 {{ $formClasses }}"
|
||||||
placeholder="notes..."></textarea>
|
placeholder="notes..."></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,7 +101,7 @@
|
||||||
class="form-input w-full h-64 {{ $formClasses }}"
|
class="form-input w-full h-64 {{ $formClasses }}"
|
||||||
placeholder=""></textarea>
|
placeholder=""></textarea>
|
||||||
</div>
|
</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>
|
<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>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
const data = new FormData(form);
|
const data = new FormData(form);
|
||||||
|
|
||||||
var xhr = new XMLHttpRequest();
|
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);
|
xhr.send(data);
|
||||||
console.log(data);
|
console.log(data);
|
||||||
console.log("Hallo!");
|
console.log("Hallo!");
|
||||||
|
@ -76,24 +76,6 @@
|
||||||
class="form-input w-full h-64 {{ $formClasses }}"
|
class="form-input w-full h-64 {{ $formClasses }}"
|
||||||
placeholder=""></textarea>
|
placeholder=""></textarea>
|
||||||
</div>
|
</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">
|
<div class="basis-full mt-10">
|
||||||
<label for="extra-info" class="p-4">
|
<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?
|
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 }}"
|
class="form-input w-full h-64 {{ $formClasses }}"
|
||||||
placeholder=""></textarea>
|
placeholder=""></textarea>
|
||||||
</div>
|
</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>
|
<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>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue