Is there a way to avoid duplicate submissions by checking a unique field?