Removing usage of HTMLFormElement.elements so you can use FormValidator ...

...with an element other than a form