Forcing unique answers to a form field question | XM Community
Skip to main content

Hello.
I am trying to design a form field question in which the answers to each field should be unique and different from the others (they are the initials of the members of a household which are going to be referred to in the following questions).
Do you have any suggestions on how I can force this uniqueness?

Hi!
Just to make sure I understand correctly:
You ask: Please list the initials of the members in your household
If they say: AB,CB,DB
You say: It's all good!
If they say: AB,AB,DB
You say: Please enter unique values
If that is correct...
You will need to set up custom validation in your form question. Depending on how many answers they give (family members), you will need to create the appropriate number of conditionals. In this case:
Mom cannot match Dad | Dad cannot match Sister | Mom cannot match Sister
Note: You will need to get the piped text string in a separate question and then paste it into the custom validation.
Please let me know if this makes sense, or if you have additional questions!
Screenshot 2023-01-04 at 12.10.37 AM.png


Thanks, David!
This was very helpful!


Happy to help!


Leave a Reply