Support the "novalidate" attribute in the form generator (see #4263)