Using UM + WPForms – issue with capturing profile meta data
-
Hi there, I don’t know if I have a unique situation or if anyone has attempted this before.
UM version: 2.9.1
WPForms version: 1.9.2.3 (their support suggested I reach out to UM for support for this issue)Scenario:
A logged-in member/user is sending a referral to another member. The logged in user is viewing the profile page of the member they want to refer to, and I have a “Send a Referral” form (WPForms) embedded on the UM user page. The logged in member accesses the profile via the member directory.Problem:
Using?{user_email}
?or similar “user” tags in the WPForms field (default value) retrieves the email address of the?logged-in user. However, my goal is to retrieve the email address of the?profile user?(the member whose profile is being viewed). The WPForms smart tags do not have a “{profile_email}” tag that I’m aware of or a way to fetch any data from a “profiled” user.Goal:
When the logged-in user submits the referral form, I need the form to dynamically retrieve the email address (or other meta data) of the profiled user. This is essential so I can set up a notification to send to the profiled user as well as ensure the data mapped to my ACF is correct. I don’t want to rely on the logged in user to enter the profiled user data properly b/c they potentially will not.Is what I’m attempting to achieve even possible? If so, do you have any suggestions?
Thanks for your assistance!
- You must be logged in to reply to this topic.