duplicate validation with form