Unique field validation

This option allows you to ensure that certain fields in your form are unique across all submissions. Once a value has been used in a previous submission, the form will prevent users from submitting the same value again. This is ideal for fields such as email addresses, usernames, or ID numbers, where duplicates are not allowed.

Use this feature to maintain data integrity, prevent duplicate entries, and ensure that each submission is unique. It’s especially useful for registration forms, surveys, contests, or any situation where repeated values could cause issues.

How to enforce unique fields

IMPORTANT: This option requires the action [record] in order to work.

To enable unique field validation, go to the form editor and navigate to the Options section. The key settings are:

  • unique_field: Enter the name of the field you want to enforce as unique. Once a value has been used in a previous submission, the form will block any subsequent submissions with the same value.
  • unique_field_message: Message displayed to users when they attempt to submit a duplicate value. You can write a custom message or use the tag {settings.unique_field_message} to show the default message defined in Settings.

You can customize the predefined messages by going to BBForms menu -> Settings -> Messages and editing the message shown when a duplicate value is detected, or any other standard form message.