https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement
this.editing.dom.container.querySelector('form input[type="submit"]').click(); let inValid = true; [].forEach.call(this.editing.dom.container.querySelectorAll('form input[required]'), (input) => { if (input.checkValidity() === false) { inValid = false; } }); if (!inValid) { return; }