Validate required fields