In case you want to allow your affiliate to choose their own coupon code, you can ask them to fill in their preferred coupon code right on the registration form. You can then assign a proper coupon code to the affiliate. To get this done, there are two options for you: