How To Avoid Duplicates in the Email Field

Hi everybody,

I’m running a b2b event which is entrance free but I need to collect name/surname/compay/email for everyone who’s coming.

I’ve structured the form like this

  • DAY of the EVENT ----- HOW MANY PEOPLE ARE COMING?
  • NAME - SURNAME - COMPANY - EMAIL (conditional logic connected to how many people)
  • NAME - SURNAME - COMPANY - EMAIL (conditional logic connected to how many people)
  • NAME - SURNAME - COMPANY - EMAIL (conditional logic connected to how many people)

The problem that I got in the first event I’ve organized is that they use just a single email to register like 3 or 4 or even more people.

I’ve tried to check and avoid duplicates in the email field within the options of gravity forms but it does not seem to work, tried 3 different plugin (GF no duplicates/ Gravity Forms Prevent Duplicates/ Gravity Forms Duplicate Prevention) and it does not seem to work.

Can anyone help me out with this?this is the website https://www.nextvintagereserved.it/

Thanks a lot

Hi Marcello,

Dario, from Gravity Wiz here. This seems a good use case for Gravity Forms Limit Submissions - Gravity Perks | Gravity Wiz

It allows you to limit the number of entries that can be submitted by almost anything (user, role, IP, URL, field value) for almost any time period. In your case it will be a Field Value set to email.

I hope this helps :man_mage:

Cheers,

Thanks Dario is it possible to try it?to see it suits my needs?

Marcello,

We have a 30-Day 100% Money Back Guarantee to try Gravity Perks risk-free. If you’re not completely satisfied with our product after 30 days, we’ll refund your purchase; no hassle, no fuss.

Cheers,

Dario thanks I bought it but I’m still unable to limit the multiple submissions, maybe you are able to help me out.

The field limitation works on the same field but not on the logistics one because it’s a “different” field

When I select 1 person is coming to visit the fair i have open the first slot of the form with

NAME/SURNAME/COMPANY/EMAIL

When I select 2 people coming to the fair the form will show

NAME/SURNAME/COMPANY/EMAIL
NAME/SURNAME/COMPANY/EMAIL

But if I set up the email field the limitation it’s working within it’s level only and not globally on the email field.

I was able to register for like this

Marcello/Bolzoni/Armani/marcello.bolzoni@gmail.com
Dario/Developer/Armani/marcello.bolzoni@gmail.com

and that is something I don0t want to happen, I want

Marcello/Bolzoni/Armani/marcello.bolzoni@gmail.com
Dario/Developer/Armani/dario.developer@gmail.com

You can check out the website here https://www.nextvintagereserved.it/

Hope this was clear enough

I Marcello,

Can you reach us via our Support form? Support - Gravity Wiz

We will probably need a form export for testing :slightly_smiling_face:

Cheers,

Will do thanks

The plugins you tried are intended to stop identical entries from being automatically submitted. For example, when the user reloads the page after submission or click the Back button.

From your explanation, what you want to avoid, correct me if I’m wrong, is people typing the same email address into different fields. This is not covered by the plugins you tried, I’m not sure if the one suggested by Dario will fit your needs.

From Gravity Forms side of things, to achieve your goal you would need to create a custom validation snippet to compare the values entered into the different fields and make the form fail validation if they’re not different.

There’s an example that you could use as base for your snippet in the following documentation page: gform_field_validation - Gravity Forms Documentation

1 Like

Thanks for the heads up and the clarification Samuel!

We’ve already followed up with Marcello via support just posting here for future reference in case someone else got a similar question.

From what I understand this could be achieved with this free snippet Gravity Forms: Require Unique Values for Different Fields - Gravity Wiz. An easy way to make sure the user enters unique values in each of the designated fields.

Best,

This goes a bit out of my knowledge area I’ve sent it to my developer as I’m not able to work with snippets and stuff, I’ll let you know as soon as we find the solution!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.