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.

Pre-sale question - limiting individual form entry fields

  1. Before purchasing Gravity Forms, I want to know if the following is possible:

    I'm setting up forms on a web site for a company that hosts meetings from multiple industry sectors. We want no more than two people from each industry sector to participate. Is it possible to limit an individual entry field to allow for this? We either want filled fields to hide (not be selectable) or a message to pop up for the user saying that their industry sector is already filled.

    I know that gravity forms allows you to limit the total number of entries but that is not the same.

    Please let me know if this is possible. Thanks!

    Jessica Rousseau

    Posted 14 years ago on Wednesday June 15, 2011 | Permalink
  2. If you only wanted one person for each industry it would be possible, because you can set a field to require a unique value. However it doesn't work if you want to allow two people, only a single unique value.

    You could do this, but it would require customizations using available API hooks to write your own custom validation to suit your needs. So you'd either have to write some custom code or hire a developer to write the custom validation for you.

    Posted 14 years ago on Wednesday June 15, 2011 | Permalink
  3. Thanks Carl.

    For the "Unique Value" could we do a workaround essentially by creating two categories for each single industry field (Like "Graphic Design (1)" and then "Graphic Design (2)")?

    If the unique value allows them to put anything, that doesn't solve my problem as a minor spelling variation will allow them to register in the same industry field.

    Posted 14 years ago on Wednesday June 15, 2011 | Permalink
  4. Yes, that would work as a work around. Then set the field to only accept a unique value, an option under Rules when editing the field. Then it would only let that option be chosen once.

    You could still do custom validation also and write your own custom validation to handle this if you wanted to go that route.

    Posted 14 years ago on Wednesday June 15, 2011 | Permalink