Liability waiver form you can use today
Your waiver text sits directly above the tick box. Nobody can tick “I agree” without scrolling past it, and the form will not send until they do. The sample wording has [Business name] and [State] where yours go. Change it in the editor, in the box called “Text they agree to”, and get a lawyer to read your final version once.
People sign by typing their full name. That works on any phone, with a keyboard, and with a screen reader. Under the name there is a pad for a finger or a stylus, and the drawing comes to you as a picture with the rest of the answers. We scan every file for viruses before it reaches you.
A climbing gym and a kids' camp do not need the same form, so there are four ready versions above the editor. The gym one asks about injuries and pregnancy. The adventure one asks whether this is their first time. In the kids' version a parent fills it in for the child, says who else may collect them, and decides about photos. The rental version has pick-up and return dates, and the renter agrees to pay for damage.
New: open this form in the form builder to give it your site's colours and font and get the code for WordPress, Shopify, Wix or Webflow.
Ready for your business
1. Start from a form
Or describe the form and let AI fill in the fields
Only your description goes to the AI model. The answer replaces the fields above it, and you can edit them like any other.
2. Edit the fields
-
Files need Uploads turned on for your form, plus the CAPTCHA widget from its Connect page. PDF, JPEG or PNG, up to 5 MB each.
-
Files need Uploads turned on for your form, plus the CAPTCHA widget from its Connect page. PDF, JPEG or PNG, up to 5 MB each.
-
Files need Uploads turned on for your form, plus the CAPTCHA widget from its Connect page. PDF, JPEG or PNG, up to 5 MB each.
-
Files need Uploads turned on for your form, plus the CAPTCHA widget from its Connect page. PDF, JPEG or PNG, up to 5 MB each.
-
Files need Uploads turned on for your form, plus the CAPTCHA widget from its Connect page. PDF, JPEG or PNG, up to 5 MB each.
-
Files need Uploads turned on for your form, plus the CAPTCHA widget from its Connect page. PDF, JPEG or PNG, up to 5 MB each.
-
Files need Uploads turned on for your form, plus the CAPTCHA widget from its Connect page. PDF, JPEG or PNG, up to 5 MB each.
-
Files need Uploads turned on for your form, plus the CAPTCHA widget from its Connect page. PDF, JPEG or PNG, up to 5 MB each.
-
Files need Uploads turned on for your form, plus the CAPTCHA widget from its Connect page. PDF, JPEG or PNG, up to 5 MB each.
-
Files need Uploads turned on for your form, plus the CAPTCHA widget from its Connect page. PDF, JPEG or PNG, up to 5 MB each.
-
Files need Uploads turned on for your form, plus the CAPTCHA widget from its Connect page. PDF, JPEG or PNG, up to 5 MB each.
Files need Uploads turned on for your form, plus the CAPTCHA widget from its Connect page. PDF, JPEG or PNG, up to 5 MB each.
3. Check the live preview
This is the HTML tab, rendered. Paste your access key in step 4 and the button sends a real test submission.
4. Add your access key
Every copy below uses it as you type. Until then the code has fk_your_access_key, which Formgong refuses.
5. Copy the code
Plain HTML with a short style block. The script at the end is optional: it keeps visitors on the page and says sent only when Formgong answers success: true. Delete it and the browser posts the form on its own.
<!-- Signature: the typed full name is the signature. signature.js adds a pad to draw it as well; the drawing arrives as signature.png, so the form posts as multipart with the CAPTCHA, and Formgong turns Uploads on for a form you save with a signature field. -->
<style>
#fg-form{position:relative;box-sizing:border-box;display:grid;gap:16px;width:100%;max-width:520px;padding:28px;border:1px solid #dbe2ea;border-radius:8px;background:#fff;color:#0f172a;font:16px/1.5 system-ui,sans-serif}
#fg-form *{box-sizing:border-box}
#fg-form h2{margin:0;font-size:24px;line-height:1.3}
#fg-form .fg-field{display:grid;gap:6px;min-width:0;margin:0;padding:0;border:0}
#fg-form label,#fg-form legend{font-weight:500}
#fg-form legend{padding:0;margin-bottom:2px}
#fg-form input,#fg-form select,#fg-form textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #64748b;border-radius:8px;background:#fff;color:inherit;font:inherit}
#fg-form textarea{min-height:120px;resize:vertical}
#fg-form .fg-choice{display:flex;align-items:center;gap:10px;font-weight:400}
#fg-form .fg-choice input{width:20px;min-height:20px;margin:0;flex-shrink:0}
#fg-form [aria-invalid=true]{border-color:#b91c1c}
#fg-form .fg-error{margin:0;color:#b91c1c;font-size:14px}
#fg-form .fg-status{margin:0}
#fg-form .fg-credit{margin:0;font-size:13px;text-align:center}
#fg-form .fg-credit a{color:#64748b}
#fg-form .fg-error:empty{display:none}
#fg-form button{min-height:48px;padding:12px 20px;border:0;border-radius:8px;background:#4338ca;color:#fff;font:inherit;font-weight:600;cursor:pointer}
#fg-form button:disabled{opacity:.7;cursor:wait}
#fg-form :focus-visible{outline:3px solid #4338ca;outline-offset:3px}
#fg-form .fg-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
#fg-form select{appearance:none;-webkit-appearance:none;padding-inline-end:40px;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 15px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}#fg-form select:dir(rtl){background-position:15px 50%,20px 50%}@media (forced-colors:active){#fg-form select{appearance:auto;-webkit-appearance:auto;background-image:none}}
</style>
<form id="fg-form" action="https://formgong.com/submit" method="POST" enctype="multipart/form-data">
<h2>Liability waiver</h2>
<input type="hidden" name="access_key" value="fk_your_access_key">
<input type="hidden" name="_lang" value="en">
<div class="fg-field">
<label for="fg-name">Participant's full name <span aria-hidden="true">*</span></label>
<input type="text" id="fg-name" name="name" autocomplete="name" required aria-describedby="fg-name-error">
<p class="fg-error" id="fg-name-error"></p>
</div>
<div class="fg-field">
<label for="fg-dob">Date of birth <span aria-hidden="true">*</span></label>
<input type="date" id="fg-dob" name="dob" required aria-describedby="fg-dob-error">
<p class="fg-error" id="fg-dob-error"></p>
</div>
<div class="fg-field">
<label for="fg-email">Email <span aria-hidden="true">*</span></label>
<input type="email" id="fg-email" name="email" autocomplete="email" required aria-describedby="fg-email-error">
<p class="fg-error" id="fg-email-error"></p>
</div>
<div class="fg-field">
<label for="fg-phone">Phone <span aria-hidden="true">*</span></label>
<input type="tel" id="fg-phone" name="phone" autocomplete="tel" required aria-describedby="fg-phone-error">
<p class="fg-error" id="fg-phone-error"></p>
</div>
<div class="fg-field">
<label for="fg-activity">Activity <span aria-hidden="true">*</span></label>
<select id="fg-activity" name="activity" required aria-describedby="fg-activity-error"><option value="">Choose…</option><option value="Class or session">Class or session</option><option value="Membership">Membership</option><option value="Event">Event</option><option value="Rental">Rental</option><option value="Something else">Something else</option></select>
<p class="fg-error" id="fg-activity-error"></p>
</div>
<div class="fg-field">
<label for="fg-emergency_name">Emergency contact name <span aria-hidden="true">*</span></label>
<input type="text" id="fg-emergency_name" name="emergency_name" required aria-describedby="fg-emergency_name-error">
<p class="fg-error" id="fg-emergency_name-error"></p>
</div>
<div class="fg-field">
<label for="fg-emergency_phone">Emergency contact phone <span aria-hidden="true">*</span></label>
<input type="tel" id="fg-emergency_phone" name="emergency_phone" autocomplete="tel" required aria-describedby="fg-emergency_phone-error">
<p class="fg-error" id="fg-emergency_phone-error"></p>
</div>
<div class="fg-field">
<label for="fg-health">Health conditions, injuries or allergies we should know about</label>
<textarea id="fg-health" name="health" aria-describedby="fg-health-error" rows="4"></textarea>
<p class="fg-error" id="fg-health-error"></p>
</div>
<fieldset class="fg-field"><legend>May we use photos of you in our posts? <span aria-hidden="true">*</span></legend>
<label class="fg-choice" for="fg-photos-0"><input id="fg-photos-0" type="radio" name="photos" value="Yes" required aria-describedby="fg-photos-error"> Yes</label>
<label class="fg-choice" for="fg-photos-1"><input id="fg-photos-1" type="radio" name="photos" value="No" required aria-describedby="fg-photos-error"> No</label>
<p class="fg-error" id="fg-photos-error"></p>
</fieldset>
<div class="fg-field">
<div class="fg-terms" style="display:grid;gap:8px;font-size:0.9em"><p>I am taking part in the activity named above with [Business name] of my own free will.</p><p>The activity involves risks, including falls, strains, collisions and other injuries. I understand these risks and I accept them.</p><p>I confirm that I am fit to take part and that I have told [Business name] about any condition that could affect my safety.</p><p>I will follow the staff's safety instructions and stop if I feel unwell or unsafe.</p><p>To the extent the law allows, I release [Business name], its owners and its staff from claims for injury, loss or damage that arise from my taking part, except claims caused by their gross negligence or intentional acts.</p><p>If I need first aid or emergency care, I allow [Business name] to arrange it, and I will pay any cost of that care.</p><p>This waiver is governed by the laws of [State]. If any part of it cannot be enforced, the rest still applies.</p></div>
<label class="fg-choice" for="fg-agree"><input id="fg-agree" type="checkbox" name="agree" value="yes" required aria-describedby="fg-agree-error"> I have read this waiver and I agree to it <span aria-hidden="true">*</span></label>
<p class="fg-error" id="fg-agree-error"></p>
</div>
<div class="fg-field">
<label for="fg-signature">Signature: type your full name <span aria-hidden="true">*</span></label>
<input type="text" id="fg-signature" name="signature" autocomplete="name" required aria-describedby="fg-signature-error" data-formgong-signature>
<p class="fg-error" id="fg-signature-error"></p>
</div>
<div class="fg-trap" aria-hidden="true"><label>Leave this empty <input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label></div>
<div class="cf-turnstile" data-sitekey="0x4AAAAAAFKAodpmlStzGMg4"></div>
<button type="submit">Sign waiver</button>
<p class="fg-status" data-fg-status role="status"></p>
<p class="fg-credit"><a href="https://formgong.com/en/?ref=badge&utm_source=badge&utm_medium=form&utm_campaign=generator" target="_blank" rel="noopener">Form by Formgong</a></p>
</form>
<script>
// Optional. Without it the browser posts the form and Formgong shows its own thank-you or error page.
(function () {
var form = document.getElementById("fg-form");
var status = form.querySelector("[data-fg-status]");
form.noValidate = true;
form.addEventListener("submit", function (event) {
event.preventDefault();
var first = null, seen = {};
Array.prototype.forEach.call(form.elements, function (field) {
var id = field.getAttribute("aria-describedby");
if (!id || seen[id]) return;
seen[id] = true;
var ok = field.checkValidity();
field.setAttribute("aria-invalid", ok ? "false" : "true");
document.getElementById(id).textContent = ok ? "" : field.validationMessage;
if (!ok && !first) first = field;
});
if (first) { first.focus(); return; }
var button = form.querySelector("[type=submit]");
button.disabled = true;
status.textContent = "Sending…";
fetch(form.action, { method: "POST", headers: { Accept: "application/json" }, body: new FormData(form) })
.then(function (response) { return response.json().catch(function () { return {}; }); })
.then(function (data) {
if (data.success === true) { form.reset(); status.textContent = "Thank you. Your message was sent."; }
else status.textContent = data.message || "Could not send. Please try again.";
})
.catch(function () { status.textContent = "Could not reach the server. Check your connection and try again."; })
.then(function () {
button.disabled = false;
// A Turnstile token works once: ask for a fresh one before the next try.
if (window.turnstile) window.turnstile.reset(form.querySelector(".cf-turnstile"));
});
});
})();
</script>
<script src="https://formgong.com/signature.js" defer></script>
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
<!-- Optional: fg.js counts views, starts and the field people stop at for your Formgong Analytics page. No cookies. Delete this line to turn it off. -->
<script src="https://formgong.com/fg.js" defer></script>The same form with Tailwind classes. Your site has to load Tailwind; this page does not.
<!-- Signature: the typed full name is the signature. signature.js adds a pad to draw it as well; the drawing arrives as signature.png, so the form posts as multipart with the CAPTCHA, and Formgong turns Uploads on for a form you save with a signature field. -->
<form class="relative mx-auto grid w-full max-w-lg gap-4 rounded-lg border border-slate-200 bg-white p-6 text-base text-slate-900" id="tw-form" action="https://formgong.com/submit" method="POST" enctype="multipart/form-data">
<h2 class="text-2xl font-semibold">Liability waiver</h2>
<input type="hidden" name="access_key" value="fk_your_access_key">
<input type="hidden" name="_lang" value="en">
<div class="grid gap-1.5">
<label class="font-medium" for="tw-name">Participant's full name <span aria-hidden="true">*</span></label>
<input class="w-full rounded-md border border-slate-400 bg-white px-3 py-2 text-base text-slate-900 aria-[invalid=true]:border-red-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-700" type="text" id="tw-name" name="name" autocomplete="name" required aria-describedby="tw-name-error">
<p class="text-sm text-red-700 empty:hidden" id="tw-name-error"></p>
</div>
<div class="grid gap-1.5">
<label class="font-medium" for="tw-dob">Date of birth <span aria-hidden="true">*</span></label>
<input class="w-full rounded-md border border-slate-400 bg-white px-3 py-2 text-base text-slate-900 aria-[invalid=true]:border-red-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-700" type="date" id="tw-dob" name="dob" required aria-describedby="tw-dob-error">
<p class="text-sm text-red-700 empty:hidden" id="tw-dob-error"></p>
</div>
<div class="grid gap-1.5">
<label class="font-medium" for="tw-email">Email <span aria-hidden="true">*</span></label>
<input class="w-full rounded-md border border-slate-400 bg-white px-3 py-2 text-base text-slate-900 aria-[invalid=true]:border-red-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-700" type="email" id="tw-email" name="email" autocomplete="email" required aria-describedby="tw-email-error">
<p class="text-sm text-red-700 empty:hidden" id="tw-email-error"></p>
</div>
<div class="grid gap-1.5">
<label class="font-medium" for="tw-phone">Phone <span aria-hidden="true">*</span></label>
<input class="w-full rounded-md border border-slate-400 bg-white px-3 py-2 text-base text-slate-900 aria-[invalid=true]:border-red-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-700" type="tel" id="tw-phone" name="phone" autocomplete="tel" required aria-describedby="tw-phone-error">
<p class="text-sm text-red-700 empty:hidden" id="tw-phone-error"></p>
</div>
<div class="grid gap-1.5">
<label class="font-medium" for="tw-activity">Activity <span aria-hidden="true">*</span></label>
<select class="w-full rounded-md border border-slate-400 bg-white px-3 py-2 text-base text-slate-900 aria-[invalid=true]:border-red-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-700" id="tw-activity" name="activity" required aria-describedby="tw-activity-error"><option value="">Choose…</option><option value="Class or session">Class or session</option><option value="Membership">Membership</option><option value="Event">Event</option><option value="Rental">Rental</option><option value="Something else">Something else</option></select>
<p class="text-sm text-red-700 empty:hidden" id="tw-activity-error"></p>
</div>
<div class="grid gap-1.5">
<label class="font-medium" for="tw-emergency_name">Emergency contact name <span aria-hidden="true">*</span></label>
<input class="w-full rounded-md border border-slate-400 bg-white px-3 py-2 text-base text-slate-900 aria-[invalid=true]:border-red-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-700" type="text" id="tw-emergency_name" name="emergency_name" required aria-describedby="tw-emergency_name-error">
<p class="text-sm text-red-700 empty:hidden" id="tw-emergency_name-error"></p>
</div>
<div class="grid gap-1.5">
<label class="font-medium" for="tw-emergency_phone">Emergency contact phone <span aria-hidden="true">*</span></label>
<input class="w-full rounded-md border border-slate-400 bg-white px-3 py-2 text-base text-slate-900 aria-[invalid=true]:border-red-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-700" type="tel" id="tw-emergency_phone" name="emergency_phone" autocomplete="tel" required aria-describedby="tw-emergency_phone-error">
<p class="text-sm text-red-700 empty:hidden" id="tw-emergency_phone-error"></p>
</div>
<div class="grid gap-1.5">
<label class="font-medium" for="tw-health">Health conditions, injuries or allergies we should know about</label>
<textarea class="w-full rounded-md border border-slate-400 bg-white px-3 py-2 text-base text-slate-900 aria-[invalid=true]:border-red-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-700 min-h-28" id="tw-health" name="health" aria-describedby="tw-health-error" rows="4"></textarea>
<p class="text-sm text-red-700 empty:hidden" id="tw-health-error"></p>
</div>
<fieldset class="grid gap-2"><legend class="mb-1 font-medium">May we use photos of you in our posts? <span aria-hidden="true">*</span></legend>
<label class="flex items-center gap-2" for="tw-photos-0"><input class="h-5 w-5" id="tw-photos-0" type="radio" name="photos" value="Yes" required aria-describedby="tw-photos-error"> Yes</label>
<label class="flex items-center gap-2" for="tw-photos-1"><input class="h-5 w-5" id="tw-photos-1" type="radio" name="photos" value="No" required aria-describedby="tw-photos-error"> No</label>
<p class="text-sm text-red-700 empty:hidden" id="tw-photos-error"></p>
</fieldset>
<div class="grid gap-1.5">
<div class="fg-terms" style="display:grid;gap:8px;font-size:0.9em"><p>I am taking part in the activity named above with [Business name] of my own free will.</p><p>The activity involves risks, including falls, strains, collisions and other injuries. I understand these risks and I accept them.</p><p>I confirm that I am fit to take part and that I have told [Business name] about any condition that could affect my safety.</p><p>I will follow the staff's safety instructions and stop if I feel unwell or unsafe.</p><p>To the extent the law allows, I release [Business name], its owners and its staff from claims for injury, loss or damage that arise from my taking part, except claims caused by their gross negligence or intentional acts.</p><p>If I need first aid or emergency care, I allow [Business name] to arrange it, and I will pay any cost of that care.</p><p>This waiver is governed by the laws of [State]. If any part of it cannot be enforced, the rest still applies.</p></div>
<label class="flex items-center gap-2" for="tw-agree"><input class="h-5 w-5" id="tw-agree" type="checkbox" name="agree" value="yes" required aria-describedby="tw-agree-error"> I have read this waiver and I agree to it <span aria-hidden="true">*</span></label>
<p class="text-sm text-red-700 empty:hidden" id="tw-agree-error"></p>
</div>
<div class="grid gap-1.5">
<label class="font-medium" for="tw-signature">Signature: type your full name <span aria-hidden="true">*</span></label>
<input class="w-full rounded-md border border-slate-400 bg-white px-3 py-2 text-base text-slate-900 aria-[invalid=true]:border-red-700 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-700" type="text" id="tw-signature" name="signature" autocomplete="name" required aria-describedby="tw-signature-error" data-formgong-signature>
<p class="text-sm text-red-700 empty:hidden" id="tw-signature-error"></p>
</div>
<div class="absolute -left-[9999px] h-px w-px overflow-hidden" aria-hidden="true"><label>Leave this empty <input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label></div>
<div class="cf-turnstile" data-sitekey="0x4AAAAAAFKAodpmlStzGMg4"></div>
<button class="min-h-12 rounded-md bg-indigo-700 px-4 py-3 font-semibold text-white disabled:opacity-70" type="submit">Sign waiver</button>
<p class="empty:hidden" data-fg-status role="status"></p>
<p class="text-center text-sm text-slate-500"><a href="https://formgong.com/en/?ref=badge&utm_source=badge&utm_medium=form&utm_campaign=generator" target="_blank" rel="noopener">Form by Formgong</a></p>
</form>
<script>
// Optional. Without it the browser posts the form and Formgong shows its own thank-you or error page.
(function () {
var form = document.getElementById("tw-form");
var status = form.querySelector("[data-fg-status]");
form.noValidate = true;
form.addEventListener("submit", function (event) {
event.preventDefault();
var first = null, seen = {};
Array.prototype.forEach.call(form.elements, function (field) {
var id = field.getAttribute("aria-describedby");
if (!id || seen[id]) return;
seen[id] = true;
var ok = field.checkValidity();
field.setAttribute("aria-invalid", ok ? "false" : "true");
document.getElementById(id).textContent = ok ? "" : field.validationMessage;
if (!ok && !first) first = field;
});
if (first) { first.focus(); return; }
var button = form.querySelector("[type=submit]");
button.disabled = true;
status.textContent = "Sending…";
fetch(form.action, { method: "POST", headers: { Accept: "application/json" }, body: new FormData(form) })
.then(function (response) { return response.json().catch(function () { return {}; }); })
.then(function (data) {
if (data.success === true) { form.reset(); status.textContent = "Thank you. Your message was sent."; }
else status.textContent = data.message || "Could not send. Please try again.";
})
.catch(function () { status.textContent = "Could not reach the server. Check your connection and try again."; })
.then(function () {
button.disabled = false;
// A Turnstile token works once: ask for a fresh one before the next try.
if (window.turnstile) window.turnstile.reset(form.querySelector(".cf-turnstile"));
});
});
})();
</script>
<script src="https://formgong.com/signature.js" defer></script>
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
<!-- Optional: fg.js counts views, starts and the field people stop at for your Formgong Analytics page. No cookies. Delete this line to turn it off. -->
<script src="https://formgong.com/fg.js" defer></script>The same form with Bootstrap 5 classes. Your site has to load Bootstrap; this page does not.
<!-- Signature: the typed full name is the signature. signature.js adds a pad to draw it as well; the drawing arrives as signature.png, so the form posts as multipart with the CAPTCHA, and Formgong turns Uploads on for a form you save with a signature field. -->
<form class="position-relative mx-auto" id="bs-form" action="https://formgong.com/submit" method="POST" enctype="multipart/form-data">
<h2 class="h4 mb-3">Liability waiver</h2>
<input type="hidden" name="access_key" value="fk_your_access_key">
<input type="hidden" name="_lang" value="en">
<div class="mb-3">
<label class="form-label" for="bs-name">Participant's full name <span aria-hidden="true">*</span></label>
<input class="form-control" type="text" id="bs-name" name="name" autocomplete="name" required aria-describedby="bs-name-error">
<p class="form-text text-danger" id="bs-name-error"></p>
</div>
<div class="mb-3">
<label class="form-label" for="bs-dob">Date of birth <span aria-hidden="true">*</span></label>
<input class="form-control" type="date" id="bs-dob" name="dob" required aria-describedby="bs-dob-error">
<p class="form-text text-danger" id="bs-dob-error"></p>
</div>
<div class="mb-3">
<label class="form-label" for="bs-email">Email <span aria-hidden="true">*</span></label>
<input class="form-control" type="email" id="bs-email" name="email" autocomplete="email" required aria-describedby="bs-email-error">
<p class="form-text text-danger" id="bs-email-error"></p>
</div>
<div class="mb-3">
<label class="form-label" for="bs-phone">Phone <span aria-hidden="true">*</span></label>
<input class="form-control" type="tel" id="bs-phone" name="phone" autocomplete="tel" required aria-describedby="bs-phone-error">
<p class="form-text text-danger" id="bs-phone-error"></p>
</div>
<div class="mb-3">
<label class="form-label" for="bs-activity">Activity <span aria-hidden="true">*</span></label>
<select class="form-select" id="bs-activity" name="activity" required aria-describedby="bs-activity-error"><option value="">Choose…</option><option value="Class or session">Class or session</option><option value="Membership">Membership</option><option value="Event">Event</option><option value="Rental">Rental</option><option value="Something else">Something else</option></select>
<p class="form-text text-danger" id="bs-activity-error"></p>
</div>
<div class="mb-3">
<label class="form-label" for="bs-emergency_name">Emergency contact name <span aria-hidden="true">*</span></label>
<input class="form-control" type="text" id="bs-emergency_name" name="emergency_name" required aria-describedby="bs-emergency_name-error">
<p class="form-text text-danger" id="bs-emergency_name-error"></p>
</div>
<div class="mb-3">
<label class="form-label" for="bs-emergency_phone">Emergency contact phone <span aria-hidden="true">*</span></label>
<input class="form-control" type="tel" id="bs-emergency_phone" name="emergency_phone" autocomplete="tel" required aria-describedby="bs-emergency_phone-error">
<p class="form-text text-danger" id="bs-emergency_phone-error"></p>
</div>
<div class="mb-3">
<label class="form-label" for="bs-health">Health conditions, injuries or allergies we should know about</label>
<textarea class="form-control" id="bs-health" name="health" aria-describedby="bs-health-error" rows="4"></textarea>
<p class="form-text text-danger" id="bs-health-error"></p>
</div>
<fieldset class="mb-3"><legend class="form-label fs-6 mb-1">May we use photos of you in our posts? <span aria-hidden="true">*</span></legend>
<div class="form-check"><input class="form-check-input" id="bs-photos-0" type="radio" name="photos" value="Yes" required aria-describedby="bs-photos-error"><label class="form-check-label" for="bs-photos-0">Yes</label></div>
<div class="form-check"><input class="form-check-input" id="bs-photos-1" type="radio" name="photos" value="No" required aria-describedby="bs-photos-error"><label class="form-check-label" for="bs-photos-1">No</label></div>
<p class="form-text text-danger" id="bs-photos-error"></p>
</fieldset>
<div class="mb-3">
<div class="fg-terms" style="display:grid;gap:8px;font-size:0.9em"><p>I am taking part in the activity named above with [Business name] of my own free will.</p><p>The activity involves risks, including falls, strains, collisions and other injuries. I understand these risks and I accept them.</p><p>I confirm that I am fit to take part and that I have told [Business name] about any condition that could affect my safety.</p><p>I will follow the staff's safety instructions and stop if I feel unwell or unsafe.</p><p>To the extent the law allows, I release [Business name], its owners and its staff from claims for injury, loss or damage that arise from my taking part, except claims caused by their gross negligence or intentional acts.</p><p>If I need first aid or emergency care, I allow [Business name] to arrange it, and I will pay any cost of that care.</p><p>This waiver is governed by the laws of [State]. If any part of it cannot be enforced, the rest still applies.</p></div>
<div class="form-check"><input class="form-check-input" id="bs-agree" type="checkbox" name="agree" value="yes" required aria-describedby="bs-agree-error"><label class="form-check-label" for="bs-agree">I have read this waiver and I agree to it <span aria-hidden="true">*</span></label></div>
<p class="form-text text-danger" id="bs-agree-error"></p>
</div>
<div class="mb-3">
<label class="form-label" for="bs-signature">Signature: type your full name <span aria-hidden="true">*</span></label>
<input class="form-control" type="text" id="bs-signature" name="signature" autocomplete="name" required aria-describedby="bs-signature-error" data-formgong-signature>
<p class="form-text text-danger" id="bs-signature-error"></p>
</div>
<div class="visually-hidden" aria-hidden="true"><label>Leave this empty <input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label></div>
<div class="cf-turnstile" data-sitekey="0x4AAAAAAFKAodpmlStzGMg4"></div>
<button class="btn btn-primary" type="submit">Sign waiver</button>
<p class="mt-3 mb-0" data-fg-status role="status"></p>
<p class="text-center small text-secondary mt-2 mb-0"><a href="https://formgong.com/en/?ref=badge&utm_source=badge&utm_medium=form&utm_campaign=generator" target="_blank" rel="noopener">Form by Formgong</a></p>
</form>
<script>
// Optional. Without it the browser posts the form and Formgong shows its own thank-you or error page.
(function () {
var form = document.getElementById("bs-form");
var status = form.querySelector("[data-fg-status]");
form.noValidate = true;
form.addEventListener("submit", function (event) {
event.preventDefault();
var first = null, seen = {};
Array.prototype.forEach.call(form.elements, function (field) {
var id = field.getAttribute("aria-describedby");
if (!id || seen[id]) return;
seen[id] = true;
var ok = field.checkValidity();
field.setAttribute("aria-invalid", ok ? "false" : "true");
document.getElementById(id).textContent = ok ? "" : field.validationMessage;
if (!ok && !first) first = field;
});
if (first) { first.focus(); return; }
var button = form.querySelector("[type=submit]");
button.disabled = true;
status.textContent = "Sending…";
fetch(form.action, { method: "POST", headers: { Accept: "application/json" }, body: new FormData(form) })
.then(function (response) { return response.json().catch(function () { return {}; }); })
.then(function (data) {
if (data.success === true) { form.reset(); status.textContent = "Thank you. Your message was sent."; }
else status.textContent = data.message || "Could not send. Please try again.";
})
.catch(function () { status.textContent = "Could not reach the server. Check your connection and try again."; })
.then(function () {
button.disabled = false;
// A Turnstile token works once: ask for a fresh one before the next try.
if (window.turnstile) window.turnstile.reset(form.querySelector(".cf-turnstile"));
});
});
})();
</script>
<script src="https://formgong.com/signature.js" defer></script>
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
<!-- Optional: fg.js counts views, starts and the field people stop at for your Formgong Analytics page. No cookies. Delete this line to turn it off. -->
<script src="https://formgong.com/fg.js" defer></script>A component with its own styles. It checks every field, sends FormData, and says sent only when Formgong answers success: true.
import { useEffect, useState } from "react";
// Signature: the typed full name is the signature. signature.js adds a pad to draw it as well; the drawing arrives as signature.png, so the form posts as multipart with the CAPTCHA, and Formgong turns Uploads on for a form you save with a signature field.
// Load the pad once on the page: <script src="https://formgong.com/signature.js" defer></script>
// Cloudflare Turnstile: load https://challenges.cloudflare.com/turnstile/v0/api.js once on the page.
const ENDPOINT = "https://formgong.com/submit";
const CSS = "#fg-form{position:relative;box-sizing:border-box;display:grid;gap:16px;width:100%;max-width:520px;padding:28px;border:1px solid #dbe2ea;border-radius:8px;background:#fff;color:#0f172a;font:16px/1.5 system-ui,sans-serif}\n#fg-form *{box-sizing:border-box}\n#fg-form h2{margin:0;font-size:24px;line-height:1.3}\n#fg-form .fg-field{display:grid;gap:6px;min-width:0;margin:0;padding:0;border:0}\n#fg-form label,#fg-form legend{font-weight:500}\n#fg-form legend{padding:0;margin-bottom:2px}\n#fg-form input,#fg-form select,#fg-form textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #64748b;border-radius:8px;background:#fff;color:inherit;font:inherit}\n#fg-form textarea{min-height:120px;resize:vertical}\n#fg-form .fg-choice{display:flex;align-items:center;gap:10px;font-weight:400}\n#fg-form .fg-choice input{width:20px;min-height:20px;margin:0;flex-shrink:0}\n#fg-form [aria-invalid=true]{border-color:#b91c1c}\n#fg-form .fg-error{margin:0;color:#b91c1c;font-size:14px}\n#fg-form .fg-status{margin:0}\n#fg-form .fg-credit{margin:0;font-size:13px;text-align:center}\n#fg-form .fg-credit a{color:#64748b}\n#fg-form .fg-error:empty{display:none}\n#fg-form button{min-height:48px;padding:12px 20px;border:0;border-radius:8px;background:#4338ca;color:#fff;font:inherit;font-weight:600;cursor:pointer}\n#fg-form button:disabled{opacity:.7;cursor:wait}\n#fg-form :focus-visible{outline:3px solid #4338ca;outline-offset:3px}\n#fg-form .fg-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}\n#fg-form select{appearance:none;-webkit-appearance:none;padding-inline-end:40px;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 15px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}#fg-form select:dir(rtl){background-position:15px 50%,20px 50%}@media (forced-colors:active){#fg-form select{appearance:auto;-webkit-appearance:auto;background-image:none}}";
export default function GeneratedForm() {
const [errors, setErrors] = useState({});
const [status, setStatus] = useState("");
const [busy, setBusy] = useState(false);
// Formgong analytics: form views, starts and the field people stop at. No cookies.
// Optional: fg.js counts views, starts and drop-off for your Formgong Analytics page. No cookies.
useEffect(() => { if (!document.querySelector('script[src$="/fg.js"]')) document.head.appendChild(Object.assign(document.createElement("script"), { src: "https://formgong.com/fg.js", defer: true })); }, []);
async function onSubmit(event) {
event.preventDefault();
const form = event.currentTarget;
const found = {};
for (const field of form.elements) {
if (field.name && !(field.name in found) && !field.checkValidity()) found[field.name] = field.validationMessage;
}
setErrors(found);
const first = Object.keys(found)[0];
if (first) { form.querySelector(`[name="${first}"]`).focus(); return; }
setBusy(true);
setStatus("Sending…");
try {
const response = await fetch(ENDPOINT, { method: "POST", headers: { Accept: "application/json" }, body: new FormData(form) });
const data = await response.json().catch(() => ({}));
if (data.success === true) {
form.reset();
setStatus("Thank you. Your message was sent.");
} else {
setStatus(data.message || "Could not send. Please try again.");
}
} catch {
setStatus("Could not reach the server. Check your connection and try again.");
} finally {
setBusy(false);
if (window.turnstile) window.turnstile.reset(form.querySelector(".cf-turnstile"));
}
}
return (
<form id="fg-form" action={ENDPOINT} method="POST" encType="multipart/form-data" onSubmit={onSubmit} noValidate aria-busy={busy}>
<style>{CSS}</style>
<h2>{"Liability waiver"}</h2>
<input type="hidden" name="access_key" value={"fk_your_access_key"} />
<input type="hidden" name="_lang" value={"en"} />
<div className="fg-field">
<label htmlFor="fg-name">{"Participant's full name"}{" "}<span aria-hidden="true">*</span></label>
<input type="text" id="fg-name" name="name" autoComplete="name" required aria-describedby="fg-name-error" aria-invalid={errors.name ? "true" : undefined} />
<p className="fg-error" id="fg-name-error">{errors.name}</p>
</div>
<div className="fg-field">
<label htmlFor="fg-dob">{"Date of birth"}{" "}<span aria-hidden="true">*</span></label>
<input type="date" id="fg-dob" name="dob" required aria-describedby="fg-dob-error" aria-invalid={errors.dob ? "true" : undefined} />
<p className="fg-error" id="fg-dob-error">{errors.dob}</p>
</div>
<div className="fg-field">
<label htmlFor="fg-email">{"Email"}{" "}<span aria-hidden="true">*</span></label>
<input type="email" id="fg-email" name="email" autoComplete="email" required aria-describedby="fg-email-error" aria-invalid={errors.email ? "true" : undefined} />
<p className="fg-error" id="fg-email-error">{errors.email}</p>
</div>
<div className="fg-field">
<label htmlFor="fg-phone">{"Phone"}{" "}<span aria-hidden="true">*</span></label>
<input type="tel" id="fg-phone" name="phone" autoComplete="tel" required aria-describedby="fg-phone-error" aria-invalid={errors.phone ? "true" : undefined} />
<p className="fg-error" id="fg-phone-error">{errors.phone}</p>
</div>
<div className="fg-field">
<label htmlFor="fg-activity">{"Activity"}{" "}<span aria-hidden="true">*</span></label>
<select id="fg-activity" name="activity" required aria-describedby="fg-activity-error" aria-invalid={errors.activity ? "true" : undefined} defaultValue="">
<option value="">{"Choose…"}</option>
<option value={"Class or session"}>{"Class or session"}</option>
<option value={"Membership"}>{"Membership"}</option>
<option value={"Event"}>{"Event"}</option>
<option value={"Rental"}>{"Rental"}</option>
<option value={"Something else"}>{"Something else"}</option>
</select>
<p className="fg-error" id="fg-activity-error">{errors.activity}</p>
</div>
<div className="fg-field">
<label htmlFor="fg-emergency_name">{"Emergency contact name"}{" "}<span aria-hidden="true">*</span></label>
<input type="text" id="fg-emergency_name" name="emergency_name" required aria-describedby="fg-emergency_name-error" aria-invalid={errors.emergency_name ? "true" : undefined} />
<p className="fg-error" id="fg-emergency_name-error">{errors.emergency_name}</p>
</div>
<div className="fg-field">
<label htmlFor="fg-emergency_phone">{"Emergency contact phone"}{" "}<span aria-hidden="true">*</span></label>
<input type="tel" id="fg-emergency_phone" name="emergency_phone" autoComplete="tel" required aria-describedby="fg-emergency_phone-error" aria-invalid={errors.emergency_phone ? "true" : undefined} />
<p className="fg-error" id="fg-emergency_phone-error">{errors.emergency_phone}</p>
</div>
<div className="fg-field">
<label htmlFor="fg-health">{"Health conditions, injuries or allergies we should know about"}</label>
<textarea id="fg-health" name="health" aria-describedby="fg-health-error" aria-invalid={errors.health ? "true" : undefined} rows={4} />
<p className="fg-error" id="fg-health-error">{errors.health}</p>
</div>
<fieldset className="fg-field"><legend>{"May we use photos of you in our posts?"}{" "}<span aria-hidden="true">*</span></legend>
<label className="fg-choice" htmlFor="fg-photos-0"><input id="fg-photos-0" type="radio" name="photos" value={"Yes"} required aria-describedby="fg-photos-error" /> {"Yes"}</label>
<label className="fg-choice" htmlFor="fg-photos-1"><input id="fg-photos-1" type="radio" name="photos" value={"No"} required aria-describedby="fg-photos-error" /> {"No"}</label>
<p className="fg-error" id="fg-photos-error">{errors.photos}</p>
</fieldset>
<div className="fg-field">
<div className="fg-terms" style={{ display: "grid", gap: 8, fontSize: "0.9em" }}><p>{"I am taking part in the activity named above with [Business name] of my own free will."}</p><p>{"The activity involves risks, including falls, strains, collisions and other injuries. I understand these risks and I accept them."}</p><p>{"I confirm that I am fit to take part and that I have told [Business name] about any condition that could affect my safety."}</p><p>{"I will follow the staff's safety instructions and stop if I feel unwell or unsafe."}</p><p>{"To the extent the law allows, I release [Business name], its owners and its staff from claims for injury, loss or damage that arise from my taking part, except claims caused by their gross negligence or intentional acts."}</p><p>{"If I need first aid or emergency care, I allow [Business name] to arrange it, and I will pay any cost of that care."}</p><p>{"This waiver is governed by the laws of [State]. If any part of it cannot be enforced, the rest still applies."}</p></div>
<label className="fg-choice" htmlFor="fg-agree"><input id="fg-agree" type="checkbox" name="agree" value="yes" required aria-describedby="fg-agree-error" aria-invalid={errors.agree ? "true" : undefined} /> {"I have read this waiver and I agree to it"}{" "}<span aria-hidden="true">*</span></label>
<p className="fg-error" id="fg-agree-error">{errors.agree}</p>
</div>
<div className="fg-field">
<label htmlFor="fg-signature">{"Signature: type your full name"}{" "}<span aria-hidden="true">*</span></label>
<input type="text" id="fg-signature" name="signature" autoComplete="name" required aria-describedby="fg-signature-error" aria-invalid={errors.signature ? "true" : undefined} data-formgong-signature="" />
<p className="fg-error" id="fg-signature-error">{errors.signature}</p>
</div>
<div className="fg-trap" aria-hidden="true"><label>Leave this empty <input type="text" name="botcheck" tabIndex={-1} autoComplete="off" /></label></div>
<div className="cf-turnstile" data-sitekey={"0x4AAAAAAFKAodpmlStzGMg4"} />
<button type="submit" disabled={busy}>{"Sign waiver"}</button>
<p className="fg-status" role="status">{status}</p>
<p className="fg-credit"><a href={"https://formgong.com/en/?ref=badge&utm_source=badge&utm_medium=form&utm_campaign=generator"} target="_blank" rel="noopener">{"Form by Formgong"}</a></p>
</form>
);
}
A single-file component that does the same as the React one.
<script setup>
import { onMounted, reactive, ref } from "vue";
// Signature: the typed full name is the signature. signature.js adds a pad to draw it as well; the drawing arrives as signature.png, so the form posts as multipart with the CAPTCHA, and Formgong turns Uploads on for a form you save with a signature field.
// Load the pad once on the page: <script src="https://formgong.com/signature.js" defer></script>
// Cloudflare Turnstile: load https://challenges.cloudflare.com/turnstile/v0/api.js once on the page.
const endpoint = "https://formgong.com/submit";
const errors = reactive({});
const status = ref("");
const busy = ref(false);
// Formgong analytics: form views, starts and the field people stop at. No cookies.
// Optional: fg.js counts views, starts and drop-off for your Formgong Analytics page. No cookies.
onMounted(() => { if (!document.querySelector('script[src$="/fg.js"]')) document.head.appendChild(Object.assign(document.createElement("script"), { src: "https://formgong.com/fg.js", defer: true })); });
async function onSubmit(event) {
const form = event.currentTarget;
for (const name of Object.keys(errors)) delete errors[name];
for (const field of form.elements) {
if (field.name && !(field.name in errors) && !field.checkValidity()) errors[field.name] = field.validationMessage;
}
const first = Object.keys(errors)[0];
if (first) { form.querySelector(`[name="${first}"]`).focus(); return; }
busy.value = true;
status.value = "Sending…";
try {
const response = await fetch(endpoint, { method: "POST", headers: { Accept: "application/json" }, body: new FormData(form) });
const data = await response.json().catch(() => ({}));
if (data.success === true) {
form.reset();
status.value = "Thank you. Your message was sent.";
} else {
status.value = data.message || "Could not send. Please try again.";
}
} catch {
status.value = "Could not reach the server. Check your connection and try again.";
} finally {
busy.value = false;
if (window.turnstile) window.turnstile.reset(form.querySelector(".cf-turnstile"));
}
}
</script>
<template>
<form id="fg-form" :action="endpoint" method="POST" enctype="multipart/form-data" novalidate :aria-busy="busy" @submit.prevent="onSubmit">
<h2>Liability waiver</h2>
<input type="hidden" name="access_key" value="fk_your_access_key">
<input type="hidden" name="_lang" value="en">
<div class="fg-field">
<label for="fg-name">Participant's full name <span aria-hidden="true">*</span></label>
<input type="text" id="fg-name" name="name" autocomplete="name" required aria-describedby="fg-name-error" :aria-invalid="errors.name ? 'true' : undefined">
<p class="fg-error" id="fg-name-error">{{ errors.name }}</p>
</div>
<div class="fg-field">
<label for="fg-dob">Date of birth <span aria-hidden="true">*</span></label>
<input type="date" id="fg-dob" name="dob" required aria-describedby="fg-dob-error" :aria-invalid="errors.dob ? 'true' : undefined">
<p class="fg-error" id="fg-dob-error">{{ errors.dob }}</p>
</div>
<div class="fg-field">
<label for="fg-email">Email <span aria-hidden="true">*</span></label>
<input type="email" id="fg-email" name="email" autocomplete="email" required aria-describedby="fg-email-error" :aria-invalid="errors.email ? 'true' : undefined">
<p class="fg-error" id="fg-email-error">{{ errors.email }}</p>
</div>
<div class="fg-field">
<label for="fg-phone">Phone <span aria-hidden="true">*</span></label>
<input type="tel" id="fg-phone" name="phone" autocomplete="tel" required aria-describedby="fg-phone-error" :aria-invalid="errors.phone ? 'true' : undefined">
<p class="fg-error" id="fg-phone-error">{{ errors.phone }}</p>
</div>
<div class="fg-field">
<label for="fg-activity">Activity <span aria-hidden="true">*</span></label>
<select id="fg-activity" name="activity" required aria-describedby="fg-activity-error" :aria-invalid="errors.activity ? 'true' : undefined"><option value="">Choose…</option><option value="Class or session">Class or session</option><option value="Membership">Membership</option><option value="Event">Event</option><option value="Rental">Rental</option><option value="Something else">Something else</option></select>
<p class="fg-error" id="fg-activity-error">{{ errors.activity }}</p>
</div>
<div class="fg-field">
<label for="fg-emergency_name">Emergency contact name <span aria-hidden="true">*</span></label>
<input type="text" id="fg-emergency_name" name="emergency_name" required aria-describedby="fg-emergency_name-error" :aria-invalid="errors.emergency_name ? 'true' : undefined">
<p class="fg-error" id="fg-emergency_name-error">{{ errors.emergency_name }}</p>
</div>
<div class="fg-field">
<label for="fg-emergency_phone">Emergency contact phone <span aria-hidden="true">*</span></label>
<input type="tel" id="fg-emergency_phone" name="emergency_phone" autocomplete="tel" required aria-describedby="fg-emergency_phone-error" :aria-invalid="errors.emergency_phone ? 'true' : undefined">
<p class="fg-error" id="fg-emergency_phone-error">{{ errors.emergency_phone }}</p>
</div>
<div class="fg-field">
<label for="fg-health">Health conditions, injuries or allergies we should know about</label>
<textarea id="fg-health" name="health" aria-describedby="fg-health-error" :aria-invalid="errors.health ? 'true' : undefined" rows="4"></textarea>
<p class="fg-error" id="fg-health-error">{{ errors.health }}</p>
</div>
<fieldset class="fg-field"><legend>May we use photos of you in our posts? <span aria-hidden="true">*</span></legend>
<label class="fg-choice" for="fg-photos-0"><input id="fg-photos-0" type="radio" name="photos" value="Yes" required aria-describedby="fg-photos-error"> Yes</label>
<label class="fg-choice" for="fg-photos-1"><input id="fg-photos-1" type="radio" name="photos" value="No" required aria-describedby="fg-photos-error"> No</label>
<p class="fg-error" id="fg-photos-error">{{ errors.photos }}</p>
</fieldset>
<div class="fg-field">
<div class="fg-terms" style="display:grid;gap:8px;font-size:0.9em"><p>I am taking part in the activity named above with [Business name] of my own free will.</p><p>The activity involves risks, including falls, strains, collisions and other injuries. I understand these risks and I accept them.</p><p>I confirm that I am fit to take part and that I have told [Business name] about any condition that could affect my safety.</p><p>I will follow the staff's safety instructions and stop if I feel unwell or unsafe.</p><p>To the extent the law allows, I release [Business name], its owners and its staff from claims for injury, loss or damage that arise from my taking part, except claims caused by their gross negligence or intentional acts.</p><p>If I need first aid or emergency care, I allow [Business name] to arrange it, and I will pay any cost of that care.</p><p>This waiver is governed by the laws of [State]. If any part of it cannot be enforced, the rest still applies.</p></div>
<label class="fg-choice" for="fg-agree"><input id="fg-agree" type="checkbox" name="agree" value="yes" required aria-describedby="fg-agree-error" :aria-invalid="errors.agree ? 'true' : undefined"> I have read this waiver and I agree to it <span aria-hidden="true">*</span></label>
<p class="fg-error" id="fg-agree-error">{{ errors.agree }}</p>
</div>
<div class="fg-field">
<label for="fg-signature">Signature: type your full name <span aria-hidden="true">*</span></label>
<input type="text" id="fg-signature" name="signature" autocomplete="name" required aria-describedby="fg-signature-error" :aria-invalid="errors.signature ? 'true' : undefined" data-formgong-signature>
<p class="fg-error" id="fg-signature-error">{{ errors.signature }}</p>
</div>
<div class="fg-trap" aria-hidden="true"><label>Leave this empty <input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label></div>
<div class="cf-turnstile" data-sitekey="0x4AAAAAAFKAodpmlStzGMg4"></div>
<button type="submit" :disabled="busy">Sign waiver</button>
<p class="fg-status" role="status">{{ status }}</p>
<p class="fg-credit"><a href="https://formgong.com/en/?ref=badge&utm_source=badge&utm_medium=form&utm_campaign=generator" target="_blank" rel="noopener">Form by Formgong</a></p>
</form>
</template>
<style>
#fg-form{position:relative;box-sizing:border-box;display:grid;gap:16px;width:100%;max-width:520px;padding:28px;border:1px solid #dbe2ea;border-radius:8px;background:#fff;color:#0f172a;font:16px/1.5 system-ui,sans-serif}
#fg-form *{box-sizing:border-box}
#fg-form h2{margin:0;font-size:24px;line-height:1.3}
#fg-form .fg-field{display:grid;gap:6px;min-width:0;margin:0;padding:0;border:0}
#fg-form label,#fg-form legend{font-weight:500}
#fg-form legend{padding:0;margin-bottom:2px}
#fg-form input,#fg-form select,#fg-form textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #64748b;border-radius:8px;background:#fff;color:inherit;font:inherit}
#fg-form textarea{min-height:120px;resize:vertical}
#fg-form .fg-choice{display:flex;align-items:center;gap:10px;font-weight:400}
#fg-form .fg-choice input{width:20px;min-height:20px;margin:0;flex-shrink:0}
#fg-form [aria-invalid=true]{border-color:#b91c1c}
#fg-form .fg-error{margin:0;color:#b91c1c;font-size:14px}
#fg-form .fg-status{margin:0}
#fg-form .fg-credit{margin:0;font-size:13px;text-align:center}
#fg-form .fg-credit a{color:#64748b}
#fg-form .fg-error:empty{display:none}
#fg-form button{min-height:48px;padding:12px 20px;border:0;border-radius:8px;background:#4338ca;color:#fff;font:inherit;font-weight:600;cursor:pointer}
#fg-form button:disabled{opacity:.7;cursor:wait}
#fg-form :focus-visible{outline:3px solid #4338ca;outline-offset:3px}
#fg-form .fg-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
#fg-form select{appearance:none;-webkit-appearance:none;padding-inline-end:40px;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 15px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}#fg-form select:dir(rtl){background-position:15px 50%,20px 50%}@media (forced-colors:active){#fg-form select{appearance:auto;-webkit-appearance:auto;background-image:none}}
</style>
Paste this into Lovable, Bolt, v0, Claude or Cursor. It asks for the same fields, names and checks, and tells the builder not to invent a backend.
Add a working form to my site. Match my site's existing design, but keep the field names, order and behaviour below exactly. Heading: "Liability waiver". Submit button: "Sign waiver". Fields, in this order (the name attribute comes first): 1. name: label "Participant's full name", short text, required; autocomplete="name" 2. dob: label "Date of birth", date (type=date), required 3. email: label "Email", email address (type=email), required; autocomplete="email" 4. phone: label "Phone", phone number (type=tel), required; autocomplete="tel" 5. activity: label "Activity", dropdown (select), required; options: "Class or session", "Membership", "Event", "Rental", "Something else" 6. emergency_name: label "Emergency contact name", short text, required 7. emergency_phone: label "Emergency contact phone", phone number (type=tel), required; autocomplete="tel" 8. health: label "Health conditions, injuries or allergies we should know about", long text (textarea), optional 9. photos: label "May we use photos of you in our posts?", choose one (radio buttons in a fieldset with a legend), required; options: "Yes", "No" 10. agree: label "I have read this waiver and I agree to it", single checkbox, value "yes", required; show this text above the tick box, word for word, one paragraph per line: "I am taking part in the activity named above with [Business name] of my own free will." / "The activity involves risks, including falls, strains, collisions and other injuries. I understand these risks and I accept them." / "I confirm that I am fit to take part and that I have told [Business name] about any condition that could affect my safety." / "I will follow the staff's safety instructions and stop if I feel unwell or unsafe." / "To the extent the law allows, I release [Business name], its owners and its staff from claims for injury, loss or damage that arise from my taking part, except claims caused by their gross negligence or intentional acts." / "If I need first aid or emergency care, I allow [Business name] to arrange it, and I will pay any cost of that care." / "This waiver is governed by the laws of [State]. If any part of it cannot be enforced, the rest still applies." 11. signature: label "Signature: type your full name", signature: a text input (type=text) for the typed full name with the attribute data-formgong-signature; Formgong's signature.js adds a pad under it to draw the signature, required; autocomplete="name" Sending: - On submit, send the form with fetch as FormData (not JSON) to POST https://formgong.com/submit with the header Accept: application/json. - Include two hidden inputs: access_key = fk_your_access_key and _lang = en. - Load <script src="https://formgong.com/fg.js" defer></script> once on the page. It shows the owner form views, starts and the field visitors stop at, without cookies. - Add a spam trap: a text input named botcheck, inside a wrapper with aria-hidden="true" that is moved off-screen, with tabindex="-1" and autocomplete="off". Real visitors never see or fill it. - Show a success message only when the JSON answer has success === true, then reset the form. Otherwise show the answer's message field, or a short generic error. Disable the button while sending. - Send the form as multipart/form-data and load https://formgong.com/signature.js once on the page. Signature: the typed full name is the signature. signature.js adds a pad to draw it as well; the drawing arrives as signature.png, so the form posts as multipart with the CAPTCHA, and Formgong turns Uploads on for a form you save with a signature field. - Before the submit button add <div class="cf-turnstile" data-sitekey="0x4AAAAAAFKAodpmlStzGMg4"></div>, load https://challenges.cloudflare.com/turnstile/v0/api.js once, and call turnstile.reset() after each try. - Required: directly under the submit button, add a small, muted link to Formgong, exactly <p class="fg-credit"><a href="https://formgong.com/en/?ref=badge&utm_source=badge&utm_medium=form&utm_campaign=generator" target="_blank" rel="noopener">Form by Formgong</a></p>. Keep it visible on the page. Accessibility: - Every field has a visible label tied to it with for and id. Radio buttons and checkbox groups sit in a fieldset with a legend. - Each field has its own error line linked with aria-describedby. Before sending, check validity in the browser and write each invalid field's validationMessage into its error line, set aria-invalid, and focus the first invalid field. Do not create a backend, an API route, a database table, a server action or an account with another form service. Formgong stores the submission and emails it.
| Field | Type | Required |
|---|---|---|
| Participant's name, date of birth | Text, date | Yes |
| Email, phone | Email, phone | Yes |
| Activity | List of five | Yes |
| Emergency contact name and phone | Text, phone | Yes |
| Health notes | Text box | No |
| Photo permission | Two choices | Yes |
| Agreement under the waiver text | Tick box | Yes |
| Signature | Typed name, optional drawing | Yes |
Does a waiver signed online count?
In the United States it does for most agreements. The ESIGN Act of 2000 says a signature cannot be refused just because it is electronic, and a typed name is a signature when the person means it as one. A court will mostly want to know that the person saw your terms and agreed to them on purpose. That is the reason the text, the tick box and the signature are in one form, in that order.
We tried it on 19 November 2026 with the kids' version: a test parent filled it in on the form's own link page, typed their name, drew a signature and pressed Sign. The email reached a Gmail inbox 15 seconds later with every answer, “agree: yes”, the typed signature and a link to signature.png, the drawing itself.
Each waiver reaches you with the time it was sent and everything the person entered. When you change your wording, save a copy of the old text with the date. If a claim comes up two years later, you will want to show exactly what that person read.
What a waiver cannot do
It cuts your risk, but it won't make it zero. In many states a waiver does not hold against gross negligence or harm done on purpose, which is why the sample leaves those out. Children are harder: some states let a parent sign away a child's claim and others do not. And a waiver is no substitute for insurance.
Courts throw out waivers that are vague or buried in small print. Name the real risks of your activity in plain words, keep the text short enough to read on a phone, and have a local lawyer check it.
Getting it signed before people arrive
The easiest moment is right after someone books. Put the link in your confirmation message, and print a QR code for the front desk for walk-ins. If you connect Telegram, each signed waiver pings your phone as it comes in. Google Sheets gives you a list you can search by surname when people turn up.
A copy of every waiver goes to your email too, and it stays there as long as you keep the mail. Inside Formgong you see waivers for 30 days on the free plan, or for as long as you like on Pro. On the paid plans the participant can also get their own copy by email.
Taking waivers without a website
Many trainers, guides and rental shops work from Instagram, a booking app or a phone number, with no website. Press “open this form in the form builder” above the code, change what you want, and enter your email at the end. You get your own copy of the form and the key that makes it deliver.
When Formgong asks where your site is built, pick “No website”. You get a link to a page that holds only your form. Put the link in your booking confirmation, your Instagram bio, or a QR code at the front desk.
If you do have a site, copy the HTML tab instead. WordPress, Shopify, Wix and Webflow each get their own paste steps in the builder.
Free limits, email and storage
The liability waiver form is free to copy or open in the builder. Waivers are delivered only after you get your own key.
Copying the code needs no account. AI generations are limited to 5 an hour and 10 a day for each network, plus 100 a day for the whole site. When a limit is hit, start from a form and edit the fields. Editing runs in your browser and does not call the model.
On the free plan, Telegram is instant and email is sent for every submission. The free plan is 250 submissions a month. Auto-reply is not on the free plan. Submission data is stored in the EU. Support is Formgong at support@formgong.com.
Your description is sent to the model so it can choose fields. It is not stored. Do not paste passwords, card numbers or other secrets.
Questions
What should a liability waiver form include?
The participant's name and date of birth, contact details, the activity, an emergency contact, health notes, your waiver text with the risks named, a required tick box and a signature. The sample on this page has all of these.
Is a liability waiver signed online legally binding?
In the United States an electronic signature, including a typed name, has the same legal effect as one on paper under the ESIGN Act, when the person meant to sign. Whether a waiver holds up depends on its wording and your state's law.
Can a parent sign a waiver for a child?
Yes, the kids' version is signed by a parent or guardian. Some states do not let a parent waive the child's own claims, so have a local lawyer check the wording.
How long should I keep signed waivers?
At least as long as someone could still bring a claim in your state, which is often several years. Each waiver is emailed to you, and Google Sheets or the Pro plan keep a searchable copy.
Can I collect waivers without a website?
Yes. Open the form in the form builder, enter your email, and choose No website. You get a link to a page with only your form, for your booking confirmations or a QR code at the desk.
Sources
Checked on 19.11.2026 against these public pages: Formgong form builder, Formgong HTML guide.