Online Small Claims Court Guide

Online Small Claims Court Guide

A step-by-step guide to navigating the small claims process in the USA.

Eligibility & Claim Limits

$

Case & Party Details

Action Items & Evidence

Your Personalized Guide

Disclaimer: This tool provides general information and a checklist for informational purposes only. It is not legal advice. Court rules and procedures vary by jurisdiction and are subject to change. Consult a qualified attorney for advice on your specific situation.

Defendant: ${defendant}

Jurisdiction: ${state}

Claim Amount: $${parseFloat(amount || 0).toLocaleString()}

Case Summary:
${summary}

Pre-Trial Checklist

Evidence & Deadlines

Filing Deadline/Statute of Limitations: ${deadline}

Evidence to Organize:

    ${evidenceItems}
`; document.getElementById('summary-output').innerHTML = summaryHTML; document.getElementById('pdf-preview').innerHTML = `

Small Claims Court Case Summary

` + summaryHTML; } // --- PDF Download --- const downloadPdfBtn = document.getElementById('download-pdf-btn'); async function downloadPDF() { const { jsPDF } = window.jspdf; const content = document.getElementById('pdf-preview'); const container = document.getElementById('pdf-container'); downloadPdfBtn.textContent = 'Generating...'; downloadPdfBtn.disabled = true; container.classList.remove('hidden'); container.style.position = 'absolute'; container.style.left = '-9999px'; container.style.top = '0'; try { const canvas = await html2canvas(content, { scale: 2, useCORS: true }); const imgData = canvas.toDataURL('image/png'); const pdf = new jsPDF({ orientation: 'p', unit: 'pt', format: 'a4' }); const pdfWidth = pdf.internal.pageSize.getWidth(); const margin = 40; const usableWidth = pdfWidth - margin * 2; const imgScaledHeight = (canvas.height * usableWidth) / canvas.width; let heightLeft = imgScaledHeight; pdf.addImage(imgData, 'PNG', margin, margin, usableWidth, imgScaledHeight); heightLeft -= (pdf.internal.pageSize.getHeight() - margin * 2); let position = -pdf.internal.pageSize.getHeight() + margin * 2; while (heightLeft > 0) { pdf.addPage(); pdf.addImage(imgData, 'PNG', margin, position, usableWidth, imgScaledHeight); heightLeft -= pdf.internal.pageSize.getHeight(); position -= pdf.internal.pageSize.getHeight(); } pdf.save('Small-Claims-Court-Guide.pdf'); } catch (error) { console.error("Error generating PDF:", error); } finally { container.classList.add('hidden'); container.style.position = ''; container.style.left = ''; container.style.top = ''; downloadPdfBtn.textContent = 'Download PDF Guide'; downloadPdfBtn.disabled = false; } } downloadPdfBtn.addEventListener('click', downloadPDF); updateDisplay(); });
Scroll to Top