fix for form validation bug that was causing all elements to fail once one failed.