Removed unused form validation hook