added validation that product title is at least 10 characters, and an error message