So I've updated my amProtect Wordpress/aMember integration plugin to support the dynamic fields in Gravity Forms.
it takes care of all of the add_filter() stuff behind the scenes for every field in the aMember member record.
All you have to do is edit the field in your Gravity Form in the advanced tab by checking the box next to "Allow field to be populated dynamically" and then entering the aMember field name as the parameter.
If you are not really familiar with the innards of the aMember member record it could be hard to figure out what to use. But they are the same things that are documented in the amProtect plugin for shortcodes that you can use within posts. So you can just edit a post and look at the amProtect section for the examples of what is available for personalization shortcodes.
You have all of the normal fields that are off-the-shelf with aMember such as name_f, name_l, email, street, city, zip, country, etc. Even fields like login,password if you need them.
And if you have created any additional custom fields in aMember then those are available too.
For example if you created a field with a field id of "company" then you can just enter "company" into the Gravity Forms parameter for the dynamic field. If it was "phone" you can enter "phone" or if it is "company_name" you can enter "company_name". It will be there.
Hope this helps everyone! It was a fun thing to figure out how to make happen.
Posted 7 years ago on Friday June 10, 2011 | Permalink