Skip to main content
3 of 3
deleted 15 characters in body
serenesat
  • 10k
  • 30
  • 33
  • 50

No duplicate drop-down selection across 2 repeating sections

First off, Cognito forms is awesome.. Amazing tool.

I have a club selection and a waiting list selection. I want people to be able to put their name down on the waiting list if there are no places... but not to accidentally add themselves if they've already chosen a club with spaces.

Im having trouble getting multiple repeating sections to block duplicate entries from a dropdown.

The code Im using works if there is only one option selected. See image - the error comes up.

=(WaitingClub.Contains(Form.SelectYourClubOptions.Select(Choice))

If however if add a second entry to the first section, the validation no longer works.

enter image description here

The second image shows two clubs added. It submits! But football already chosen Problem.

enter image description here