PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

No duplicates combination from 2 fields

  1. I have a meeting registration form that requires there be no duplicates of a combination of two fields, specifically meeting date and category, so that no 2 people from the same business category can register to attend the same meeting date. Is this possible? How do I do this, other than by creating a separate registration form for each event?

    Thanks!

    Posted 12 years ago on Sunday April 15, 2012 | Permalink
  2. David Peralty

    It is definitely possible, but not currently built-in to Gravity Forms. The No Duplicates option only applies to a single field at a time. However, this type of advanced validation can be done by writing custom validation using the gform_validation hook. There is a tutorial on the gform_validation hook here:

    http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_validation%22_Hook

    If you are unable to develop a custom solution for your needs, there are a number of WordPress developers that could implement this for you.

    Posted 12 years ago on Monday April 16, 2012 | Permalink
  3. Thanks! This is helpful. I should be able to give it a go from here.

    Posted 12 years ago on Monday April 16, 2012 | Permalink