Creating an affiliate registration form - Affiliate Forms For Ninja Forms

Note: This article relates to the Affiliate Forms For Ninja Forms pro add-on. The Affiliate Forms for Ninja Forms pro add-on requires the free 3rd-party Ninja Forms plugin.

The Affiliate Forms For Ninja Forms pro add-on provides compatibility with both the current version of Ninja Forms, Ninja Forms 3, as well as older Ninja Forms 2.9 versions. Make sure to confirm the version of Ninja Forms you're using, and refer to the section below for the Ninja Forms version you're using.

Ninja Forms 3.0 or higher

1
With both  Affiliate Forms For Ninja Forms and the  Ninja Forms plugin installed, go to  Forms → Add New
2
Add form fields for affiliate registration. For registration to be valid, you'll need to add the following fields:
  • Email address
  • Affiliate Username

However, we recommend adding all of the registration fields available.

Once you're on the New Form screen in Ninja Forms, AffiliateWP fields are located in Form Fields → AffiliateWP:

3
Once you've added the affiliate registration fields, make sure you've also added an email field, which is located in Form Fields → User Information Fields
4
Go to Emails & Actions, then click on the blue plus-sign button to open available Ninja Forms "Actions".
5
Under the Installed section, click on or drag the Affiliate Registration action, into your form:

6
Now, we'll need to tell Ninja Forms which fields should be used for AffiliateWP. In each of the dropdown options, select the field you'd like to use.

Note: If you've forgotten a field, and haven't set that field up yet, click on the option to do so, and you'll be taken directly to the correct field: 

7
Select whether or not you'd like the affiliate to automatically be logged in after submitting their affiliate registration:

8
Make sure to save and publish the form once you're ready.
9
In AffiliateWP, go to Affiliates →  Settings → Ninja Forms  (you may be asked to save the form Ninja Forms form if you have not done so yet), and select the form you'd like to use for affiliate registration. This should be the title of the form you've just configured. Click save.
10
That's it!

Note: If the registration form does not contain a password field, an affiliate password is auto-generated for the affiliate. Affiliates who get auto-generated passwords should use the Lost / Reset Password form to get the password, or simply change it immediately after registering.

If you're not using a password field, we recommend adding a notice to this effect in your registration form.

Ninja Forms 2.9 or lower

1
With both Affiliate Forms For Ninja Forms and the  Ninja Forms plugin installed, go to Forms → Add New
2
While editing the form, go to Settings → Display (you may be asked to save the form), and enable the Use this form for affiliate registration checkbox
3
Add your desired fields and save 

Import a prebuilt form

If you don't want to build the form from scratch, here's a form you can import which will create the affiliate registration form for you. To import this form:

1
Download the file to your comptuer
2
Go to  Ninja Forms → Import/Export
3
From the Import a form section, click the  browse button and locate the file you downloaded from step one above
4
After you've successfully imported the form, go to Forms → All Forms, and you'll see a new Affiliate Registration Form

Note: You can only have one affiliate registration form.