Getting validation errors even before submitting..!! Why??