Business Legal Entity Name Conflict Checker

Business Legal Entity Name Conflict Checker

Check a proposed business name for potential conflicts against a simulated U.S. database.

Enter Search Details

Analysis Report

Disclaimer: This tool uses a simulated database for informational purposes only. It is not a substitute for a comprehensive search with the official Secretary of State's office and does not constitute legal advice.

State: ${proposedState}

Date: ${new Date().toLocaleDateString('en-US')}

${renderConflicts('Direct Conflicts in ' + proposedState, results.exactMatchState)} ${renderConflicts('Similar Names in ' + proposedState, results.similarMatchState)} ${renderConflicts('Nationwide Conflicts (Potential Trademark Issues)', results.exactMatchNationwide)} ${results.exactMatchState.length === 0 && results.similarMatchState.length === 0 && results.exactMatchNationwide.length === 0 ? '

No potential conflicts found in the database.

' : ''}
`; document.getElementById('report-output').innerHTML = reportHTML; } // --- PDF Download --- const downloadPdfBtn = document.getElementById('download-pdf-btn'); async function downloadPDF() { const { jsPDF } = window.jspdf; const pdfPreview = document.getElementById('pdf-preview'); const container = document.getElementById('pdf-container'); const reportContent = document.getElementById('report-output').innerHTML; pdfPreview.innerHTML = `

Business Name Conflict Report

${reportContent} `; 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(pdfPreview, { scale: 2 }); 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; pdf.addImage(imgData, 'PNG', margin, margin, usableWidth, imgScaledHeight); pdf.save('Business-Name-Conflict-Report.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 Report'; downloadPdfBtn.disabled = false; pdfPreview.innerHTML = ''; } } downloadPdfBtn.addEventListener('click', downloadPDF); // --- Initial Load --- updateDisplay(); });
Scroll to Top