Johnson-Lancaster Signature Generator

Johnson-Lancaster Email Signature Generator

Fill in your personal details. Your signature HTML will be generated exactly below.











function formatPhoneNumber(input) { let cleaned = input.replace(/\D/g, '').substring(0, 10); let match = cleaned.match(/(\d{0,3})(\d{0,3})(\d{0,4})/); let formatted = ''; if (match[1]) { formatted += '(' + match[1]; if (match[1].length === 3) formatted += ') '; } if (match[2]) { formatted += match[2]; if (match[2].length === 3) formatted += '-'; } if (match[3]) { formatted += match[3]; } return formatted; }document.getElementById('phone').addEventListener('input', function(e) { this.value = formatPhoneNumber(this.value); updateSignature(); });function updateSignature() { const name = document.getElementById('name').value || 'John Doe'; const title = document.getElementById('title').value || 'Job Title'; const phone = document.getElementById('phone').value || '(727) 589-XXXX'; const ext = document.getElementById('ext').value || '123'; const email = document.getElementById('email').value || 'you@johnson-lancaster.com';const signatureHTML = `
Johnson‑Lancaster Logo

${name}

${title}
Johnson‑Lancaster & Associates

${phone}
(727) 796-5622 Ext: ${ext}
${email}
www.johnson-lancaster.com
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the sender and delete it from your system.
`;document.getElementById('signaturePreview').innerHTML = signatureHTML; document.getElementById('htmlOutput').value = signatureHTML; }function copyHTML() { const htmlOutput = document.getElementById('htmlOutput'); htmlOutput.select(); document.execCommand('copy'); alert('Signature HTML copied to clipboard!'); }document.querySelectorAll('input').forEach(input => { input.addEventListener('input', updateSignature); });updateSignature();