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 = ` ![]() |
| ||||||||||||
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. |