Should we really lock this into only being used by an `<input type="submit">`? I could imagine some uses for other types of inputs having such an onclick handler attached to them (e.g. radios). Unless there's a reason other than our expectation of how this will be useful, why not drop the `type="submit"` requirement?