Form validation is now working