);
      phoneField.focus();
    } else {
      phoneField.setCustomValidity("");
    }
  
    // Validate address
    const addressField = document.getElementById('first-address');
    const addressPattern = /^[a-zA-Z0-9\s,.'-]{3,}$/;
    if (!addressPattern.test(addressField.value)) {
      addressField.setCustomValidity("Please enter a valid address.");
      addressField.reportValidity();
      event.preventDefault();
      addressField.focus();
    } else {
      addressField.setCustomValidity("");
   