> For the complete documentation index, see [llms.txt](https://viewzenlabsug.gitbook.io/userguides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://viewzenlabsug.gitbook.io/userguides/appverse/apps/create-an-app/forms/settings/validations.md).

# Validations

If a form requires creation of a unique records based on a or combination of fields, validation rules can be used to enforce this constraint. For example, you can set up a validation that checks if the combination of certain fields, such as email address and transaction ID, already exists in the database. This ensures that each record remains unique and prevents the submission of duplicate information. By applying such validation, you can maintain data integrity.

<figure><img src="https://2529980633-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK8cCKBpIeUsWEwOw3Fbj%2Fuploads%2FOSQaEVlpVIyV43lLnzmz%2Fformvalidation.jpg?alt=media&amp;token=2b6ee1f6-2375-4e1f-8224-3fe0b5ccdf5a" alt=""><figcaption><p>Validations</p></figcaption></figure>

{% hint style="info" %}
Currently, only one unique id combination can be set for a form.
{% endhint %}
