adding/removing the 'novalidate' attribute (to prevent browser validation from clashing)