• I am able to auto populate a form using Contact Form 7 & Dynamic Text Extension, however custom field data from s2member is not populating. Example, I can pull Registration Ip from s2member into this form (thanks to phpMyAdmin) using the meta key “wp_s2member_registration_ip”. However, custom fields do not have a specific name, “wp_s2member_custom_fields”. The value is listed in phpMyAdmin as “a:2:{s:7:”company”;s:3:”IBM”;s:5:”phone”;s:12:”555..” with s:7 as the custom field name “Company”, and s:3 as the company name.

    Is there a way to successfully pull the company name for the current user? Company name and other custom fields ARE displayed under each user profile in the Users section, so it is possible to pull this info. Any help is greatly appreciated! Thanks in advance.

    https://www.ads-software.com/plugins/s2member/

Viewing 1 replies (of 1 total)
  • What you see is a “servialized array”. In PHP and JS exists tools to “unserialise” it and use as an array. But you didn’t say how you handle it, so can’t suggest the exactly functions…

Viewing 1 replies (of 1 total)
  • The topic ‘Auto populating s2member data into CF7 form’ is closed to new replies.