Replace form validation selector with class not id