I'm ready to help! Whether you need a great video, some fresh ideas for your brand, or just want to chat about your next project, let’s make it happen. Tell me what you’re thinking, and I’ll get back to you soon. Can’t wait to hear from you!
document.addEventListener('DOMContentLoaded', function () {
console.log('DOM fully loaded');
const companyField = document.querySelector('#form-field-company');
const submitButton = document.querySelector('.elementor-button[type="submit"]');
console.log('Company Field:', companyField);
console.log('Submit Button:', submitButton);
if (companyField && submitButton) {
console.log('Adding input event listener');
companyField.addEventListener('input', function () {
console.log('Company Field Value:', companyField.value);
if (companyField.value.toLowerCase().includes('google')) {
console.log('Hiding Submit Button');
submitButton.style.display = 'none';
} else {
console.log('Showing Submit Button');
submitButton.style.display = '';
}
});
} else {
console.error('Required elements not found');
}
});