validating upload form