(function (global) { const { useState } = React; function ContactFormSection() { const navConfig = global.SHIELD_POINT_NAV; const [formData, setFormData] = useState({ name: '', phone: '', email: '', service: 'Home Inspection', city: 'Brampton', message: '', }); const [submitted, setSubmitted] = useState(false); const [phoneError, setPhoneError] = useState(''); const handleChange = (e) => { const { name, value } = e.target; if (name === 'phone') { const digitsOnly = value.replace(/\D/g, '').slice(0, 10); setFormData((prev) => ({ ...prev, phone: digitsOnly })); if (digitsOnly.length === 10) { setPhoneError(''); } return; } setFormData((prev) => ({ ...prev, [name]: value })); }; const handleSubmit = (e) => { e.preventDefault(); if (formData.phone.length !== 10) { setPhoneError('Please enter an exact 10-digit phone number.'); return; } setPhoneError(''); setSubmitted(true); }; return (
{/* Left Column: Direct Contact Info */}
Get In Touch

Request a Free Quote or Appointment

Need a certified home inspection or fast, family-safe pest control in Brampton, Mississauga, Caledon, or the GTA? Fill out the form and our team will get back to you promptly.

Call Directly {navConfig.topBar.phoneDisplay} Email Us imshieldpoint@gmail.com
Service Area Brampton, Mississauga, Caledon & GTA
{/* Right Column: Interactive Form Card */}
{submitted ? (

Thank You, {formData.name || 'Friend'}!

Your inquiry for {formData.service} in{' '} {formData.city} has been received. For immediate scheduling, call us at {navConfig.topBar.phoneDisplay}.

) : (
{phoneError && ( {phoneError} )}