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.
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.