Home Forums Front-end Issues Accept only unique values Reply To: Accept only unique values

  • I am wanting to prevent a user from entering a value that has already been entered. I am looking at John’s final code above. Does this go in the functions.php file or somewhere else? Will it create a new field type called unique value or will I have to edit the code whenever I create a new field that I want to restrict unique values?