Support inputs using HTML5 form attribute

Provide support for input elements outside the form element they
reference via the HTML5 form attribute.