- This topic has 1 reply, 2 voices, and was last updated 6 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Tweaks › Manually Set the Referrer or Affiliate ID using Gravity Registration Form
Tagged: affiliate id, Gravity Forms
Hi, Is there an easy way to allow a visitor to manually enter the Affiliate ID (e.g., using the shortcode discussed here: https://www.tipsandtricks-hq.com/wordpress-affiliate/allow-visitors-manually-set-referrer-affiliate-id-997 ) but as a field embedded in the Gravity Registration Form?
I have in mind that when a customer arrives at the registration form through word of mouth, that the referrer should get credit/commission, but for aesthetic purposes the “Affiliate ID” field should appear as part of the form.
Thanks for your help
That will need some customization.
This could be handled in couple of different ways I think:
1) Ask gravity forms support if they have an option where they allow you to output some HTML code (by executing some PHP code) in the form. If yes, then that shortcode can just be embedded in there by calling the function of the shortcode.
2) The 2nd option is to create a text field in your form then using custom code process that field’s value after the form is submitted.