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.

adding a special activation code

  1. Hi everyone, long time user, first time posting. Here's the deal. I have an upcoming event and I'm using Gravity Forms to collect information from people attending. I would like to send an email with an 'activation' code like 1234 that a user would have to input in the form and only accept it if they have the right code. I tried the number and limiting the min and max to the assigned number, but it says "enter a value between "xxx" and "xxx" so that won't work.

    Is this possible? If so, how would I implement it in my form?

    Posted 7 years ago on Monday November 19, 2012 | Permalink
  2. You could always hide the "enter a value" message with CSS. It would be in the source of the page, so it's not very secure, but it would work.

    You could perform custom validation on the one field to see if it matches the code you have specified. Here is the documentation for the gform_validation filter:

    Posted 7 years ago on Tuesday November 20, 2012 | Permalink