const submit = document.querySelector("#submit-button"); const honeypot = document.querySelector("#form-input-hnptcorrect"); honeypot.oninput = function () { if (honeypot.value.length > 0) { submit.disabled = true; } };