Comment Comment by sysrpl Is it that hard to: document.querySelectorAll("#some-form input").forEach(e => e.classList.add("error")); parent sysrpl 3 years ago