1. Home
  2. Knowledge Base
  3. Uncanny LearnDash Codes
  4. Using Codes with Gravity Forms

Gravity Forms Setup

To use Gravity Forms with the Uncanny LearnDash Codes plugin, your site must have Gravity Forms and the User Registration add-on installed. This is our preferred method of controlling registration with the plugin, but we do recognize that it’s an expensive option that isn’t suitable to every site.

Before you can use codes with Gravity Forms, you must set up a new form, configure it to register a user, and add this form to a page. These steps are outside the scope of our Knowledge Base, but more information is available here.

Please Note: The code registration functions will not work if you enable User Activation in the User Registration Feed settings of your form. The user must be created on registration for the code to be redeemed successfully.

Uncanny LearnDash Codes Setup

Once the form is set up as a registration form, it must be configured in the Codes plugin. To do that, navigate to Uncanny Codes > Settings as an administrator. You’ll see a section at the top of the page that looks like the screenshot below.

gf-codes

From the drop-down list at the top, choose the form that’s been set up for user registration. The checkbox beneath it controls whether entering a code is optional or required. If users can only sign up by entering a valid code, check this box. If users can sign up without entering a code, leave the box unchecked.

The remaining Gravity Forms fields simply allow label customization. They might also be used if label translation is required.

Was this article helpful?

8 replies
    • Ryan
      Ryan says:

      The example you provided doesn’t seem to be a valid page, but to confirm, this article refers to one of 3 ways to register with codes using the Codes plugin. Gravity Forms is optional and only one of the methods available.

      The login process doesn’t involve the Codes plugin, as codes can’t be redeemed on login.

      Reply
  1. Thamer Qadorah
    Thamer Qadorah says:

    Great
    I use it succisfully to make students enroll in some courses when they rigister to my site
    But the question : could i use it to make #registerd students to enroll new courses later ?

    Reply
  2. Oleg Buylov
    Oleg Buylov says:

    Is it possible to apply a promocode when updating a profile, and not when creating a profile? That is, for existing users.

    Reply

Comments/Questions

Please note that this is not an official support channel and questions/comments may go unanswered.
To request support, log in to your account and click Submit a Request.

Leave a Reply

Your email address will not be published. Required fields are marked *