I didn't realize getFieldValue was part of the public API, my bad, in which case, yes it seems like passing a selector rather than an actual HTMLFormElement is preferable, although passing the form element makes it easy to pass it on as scope to findAll.

Passing a selector rather than HTMLFormElement also obviates the need to check for a valid form, I think.

I'll refactor accordingly.