How can I prevent duplicate submissions in my system by checking against existing values in a database or data structure?
Want to ensure users don’t submit a value that already exists in your form’s database? Follow these steps to set up custom validation:
✅ Step-by-Step Guide
- Log in to your account.
- Go to the Forms section.
- Select the form you want to edit.
- Find the field you want to validate and click the ⚙️ settings icon.
- On the right panel, open the Custom Validation section.
- Select the input field under "Operator," then click Add condition.
- Choose either:
- "Exists in submissions" – to check if the value already exists (e.g., to block duplicates), or
- "Does not exist in submissions" – to allow only new/unique values.
- Add a custom error message that will display if the condition is not met.
- Click Publish to save your changes.
Example
Use this to prevent duplicate email addresses, usernames, or IDs from being submitted more than once.
Updated on: 22/05/2025
Thank you!