Ensure, that only specific input/button types are allowed to submit forms

Related to #29.