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.

Duplicate Email with Custom Field Validation

  1. Is there an example of code that could be used to check the email address submitted, along with a custom field value against existing form entries?

    Said another way - the user would input their email address. The form would contain a hidden field that pulls a custom field value for the post. I want to validate this combination of email/custom field against email/custom field combinations in the entries data.
    If a duplicate is found, the form would return a message saying that there is already an entry.

    Thanks

    Posted 12 years ago on Thursday June 2, 2011 | Permalink
  2. I do not know of any snippets that are related to your specific request; however, here are a couple resources related to custom validation that may help:

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

    Posted 12 years ago on Thursday June 2, 2011 | Permalink