Checking whether Email Address exists in external database

We have a simple form with 1 field where users enter their email address.

Right now, we use multiple conditional logic (one for each verified user) to send them an automatic notification.

We have about 20 users (thus 20 conditional logic statements) and everything works as expected. However, I am not sure how well this would scale for 1,000 users and whether that’s even possible within gravityforms.

Is there a function for gravityforms to check an external file which contains all verified email addresses and if the email address is found, send the notification to the user ?

many thanks

You can use the gform_field_validation filter to check the email entered using your own custom PHP code. There’s an example in this filter documentation that you could use as base for your code: https://docs.gravityforms.com/gform_field_validation/#h-11-email-validation-by-third-party-api

1 Like