---
title: "Unique Values"
manual: "Powermail"
version: "13.4"
permalink: "https://docs.typo3.org/permalink/in2code/powermail:unique-values@13.4"
source: "ForAdministrators/BestPractice/UniqueValues.md"
rendered: "2026-12-01T17:54:58+00:00"
---

# Unique Values {#unique-values}

As you may know from powermail 1.x you can enforce that every value of a field should only exist once. This could be helpful if you want to start a competition with powermail and every email should only saved once.

```
plugin.tx_powermail.settings.setup.validation {
   unique {
       # Enable unique check for {email} - every email must be unique on the page where mails are stored
       email = 1

       # Enable a max limit of 3 times for the same entry for {event}
       event = 3
   }
}

```

Empty values are not checked, so an optional field with a unique check can be left empty in any number of submissions.
