Added option to stop DOM form submit on validate