mod_base: don't handle onsubmit validations for 'nosubmit' input elements.
(cherry picked from commit 190663737c31a1b3a6cd19cdf0d411105f024d04)