Fundraising Event Terms Sheet

Fundraising Event Terms Sheet Generator

1. Event & Organization Details

2. Financial & Registration Terms

$
$

3. Legal & Logistics Clauses

Configure details in the Data Configuration tab and click "Generate Terms Sheet."

I have read and agree to the terms of the waiver.

5. Dispute Resolution
${formatParagraphs(data.dispute)}
Participant Signature / Date
`; termsContentDiv.innerHTML = termsHtml; }; generateBtn.addEventListener("click", function() { generateTermsSheet(); showTab(1); // Switch to Dashboard }); // --- PDF Download --- pdfBtn.addEventListener("click", function() { var jsPDF = window.jspdf.jsPDF; var eventSlug = eventNameInput.value.replace(/[^a-zA-Z0-9\s]/g, '').replace(/\s/g, '_').substring(0, 30) || 'Fundraising_Terms'; var fileName = `${eventSlug}_Terms_Sheet.pdf`; var exportContent = document.getElementById('fets-export-area'); html2canvas(exportContent, { scale: 2, useCORS: true, backgroundColor: '#ffffff' }).then(function(canvas) { var imgData = canvas.toDataURL('image/png'); var doc = new jsPDF({ orientation: 'p', unit: 'pt', format: 'letter' }); var pdfWidth = doc.internal.pageSize.getWidth(); var pdfHeight = doc.internal.pageSize.getHeight(); var imgProps = doc.getImageProperties(imgData); var imgWidth = imgProps.width; var imgHeight = imgProps.height; var margin = 40; var usableWidth = pdfWidth - (2 * margin); var ratio = usableWidth / imgWidth; var scaledHeight = imgHeight * ratio; var usablePageHeight = pdfHeight - (2 * margin); var heightLeft = scaledHeight; var position = 0; while (heightLeft > 0) { doc.addImage(imgData, 'PNG', margin, position + margin, usableWidth, scaledHeight); heightLeft -= usablePageHeight; position -= usablePageHeight; if (heightLeft > 0) { doc.addPage(); } } doc.save(fileName); }).catch(function(err) { console.error("FETS PDF Error:", err); // alert("An error occurred while generating the PDF."); // Per spec }); }); // --- Initial Load --- var today = new Date().toISOString().split('T')[0]; if (eventDateInput && !eventDateInput.value) { eventDateInput.value = "2026-06-15"; } if (cancellationDateInput && !cancellationDateInput.value) { cancellationDateInput.value = "2026-05-15"; } generateTermsSheet(); // Generate initial view with sample data showTab(0); // Start on Config tab });
Scroll to Top