Search Results
No matching results.
const scriptURL = 'https://script.google.com/macros/s/AKfycby8fShvPkXLTbGPKxJrqv8VE6IofzTAu-cuGZFVfZJ-ArMN9J0/exec' const form = document.forms['submit-to-google-sheet'] form.addEventListener('submit', e => { console.log('YERRRRRRRRRRRRRRRRRRRRRRRRRRR'); e.preventDefault() fetch(scriptURL, { method: 'POST', body: new FormData(form)}) .then(response => console.log('Success!', response), alert('Congratulations, your application has successfully been submitted. You will be contacted shortly after we review your application.')) .catch(error => console.error('Error!', error.message)) })