- Text Field
- Textarea Field
- Upload Field
- Checkbox
- URL Field
- Phone Number Field
- Digital Signature
- SureForms Fields Guide
- Input Patterns
- How to Add Custom CSS for Specific Elements in SureForms
- How to Create Inline Forms in SureForms
- Background Styling
- Advanced Form Styling Options
- Email Field
- Number Field
- Address Field
- Separator
- Validate as Unique in SureForms
- Repeater Field in SureForms
- HTML Block
- Dropdown Field in SureForms
- SureForms Styling Options in the Gutenberg Block Editor
- How to Edit Field Slug in SureForms
- Using the Google Maps API with SureForms
- New Form Styling & Preset Features
- How to Add a Color Picker Field in SureForms
- Create Multi Step Forms In WordPress
- Create WordPress Forms With Conditional Logic
- How to Fetch Query Parameters from URL
- Conversational Form
- Using Calculations in SureForms: A Step-by-Step Guide
- Calculation Formula Guide
- SureForms Login Block – Step-by-Step Guide
- SureForms Registration Block – Step-by-Step Guide
- SureForms – PDF Generation Feature
- How to Add Smart Tags as Default Values in SureForms
- How to Connect Your Stripe Account with SureForms
- How to Connect PayPal in SureForms
- How to Create a Payment Form in SureForms
- SureForms Payments
- How Refunds Work in SureForms Payments
- Understanding Payment Processing Fees
- How to Display the Payment Dashboard on the Frontend (SureForms)
- Enable One-Time Payment and Subscription in a Single Form
- SureForms Integration with ActiveCampaign
- SureForms Integration with AgileCRM
- SureForms Integration with Airtable
- SureForms Integration with LatePoint
- SureForms Integration with FluentCRM
- Connect SureForms To Zapier
- WordPress Forms with the Custom App Builder
- SureForms Integration with Telegram
- SureForms Integration with Breeze
- SureForms Integration with Brevo
- Unable to Upload SureForms ZIP: File Unzipped On Download
- Not Getting Update Notifications
- How To Rollback to Previous SureForms Versions
- Publishing Failed: Invalid JSON Response
- Troubleshooting Email Sending In SureForms
- SureForm Submissions Marked as Spam – How to Fix
- API Request Failed – Nonce Verification Error
- Fixing the “Destination folder already exists” Error When Installing SureForms
- How to Set Up SureForms with Caching Plugins
- How to Set Up SureForms with WP Rocket
- srfm_enable_redirect_activation
- sureforms_plugin_action_links
- srfm_quick_sidebar_allowed_blocks
- srfm_integrated_plugins
- srfm_suretriggers_integration_data_filter
- srfm_form_submit_response
- srfm_enable_gutenberg_post_types
- srfm_languages_directory
- srfm_form_template
- srfm_disable_nps_survey
- Installing SureForms
- How To Upgrade Your SureForms Plan
- How to Activate License Key on WordPress Multisite
- Manage SureForms Licenses
- Creating and Publishing a Form
- Browser Support for SureForms
- Where Does SureForms Store Your Data?
- How to Upgrade SureForms Starter & Pro Plan to Solo & Team Plan
- SureForms Free Entry Storage Limits Explained
Validate as Unique in SureForms
SureForms gives you the option to validate field values as unique. This means you can prevent duplicate entries for certain fields, like username, email, or ID number.
This is especially useful when you don’t want users to submit the same value multiple times. For example, when creating a registration form, you may want each username to be unique.
Supported Fields
The Validate as Unique option is available for the following fields:
- Text Field
- Email Field
- Phone Number Field
- Address Field
- Register Block
How to Enable “Validate as Unique”
- Add a Text Field (e.g., Username) to your form.

- In the field settings, toggle Validate as Unique.

- You’ll see an option to set a validation message.
- By default, the message will say something like: “Value needs to be unique.”
- You can edit this message to match your form’s tone, for example: “This username is already taken, please choose another.”

Example: Username Field
Let’s say we add a Username field with “Validate as Unique” enabled.
- A user enters the name “SF101” and submits the form for the first time.
- The submission is successful.

- If another user tries to submit the same username “SF101”, the form will display an error message:
“This username is already taken, please choose another.”

- When a new value (e.g., “SF102”) is entered, the form submits successfully again.

Why Use “Validate as Unique”?
- Prevents duplicate entries in your database.
- Ensures important fields like username, email, or ID number remain unique.
- Improves user experience by showing clear error messages when duplicates are entered.
Was this doc helpful?
What went wrong?
We don't respond to the article feedback, we use it to improve our support content.