How I can prevent two spaces are filled with the same name on the form?