How to Have Unique Question Using Multiple Fields

June 8, 2022

Jotform already has a cool feature that will allow collecting deduplicated database on a unique question answer.

User guide: How to set Form Limits Based on a Unique Question

But what if the unique data requires multiple combinations of answers and not base only on a single question/field? The unique question feature allows only one unique question for a unique answer. So you cannot use the same feature only.

This guide will show you how to have a unique data that is based on multiple questions/fields on the form.

Demo form :

In the demo form, the unique data is a combination of the E-mail ID and Position code.

Here are the steps on how to create unique question using multiple fields:

  1. Decide which of at least 2 or more fields will constitute the unique question data on the form.  In the demo form, the unique question is the combination of E-mail ID and Position code.
  2. Add a Textbox field on the form. 

In the demo form, the Textbox was named Unique Code. The unique code question can be hidden also to hide the unique data generated.

  1. Add Condition logic on the form using the Update/Calculate field rule.
  1. Create the calculation formula by copying the values of the selected fields into the Textbox field (Unique Code). Make sure the summary is set to the Textbox field.

User guide: How to Peform Calculation on the Form

  1. Save the Calculation condition.
  2. Go to Settings / Form Settings / Show More Options:
  1. And set Unique Question to Unique Code field.
  1. Save the Preferences settings.
  2. Save the form and test.
  3. Finish. In the demo form, the unique data can have duplicate E-mail ID or Position code, but not a combination of both. 
Was this guide helpful?
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum:

Contact Jotform Support:

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Podo CommentBe the first to comment.