Checking for competing field entries on form validation