let fields = form.querySelectorAll('input[required], select[required], textarea[required]'); ...
How can we help you? Show me more results ...