I have a "Email this person" functionality on a profile page. Clicking on the function will bring up a form that user can fill in and submit. I'd like to then send the form response to the email of the profile being viewed.
I understand email notification can be set for a form in the backend CMS, however I need to set it to a different one for each form on a profile page - I need to set it programmaitcally depending on which profile is being viewed.
Any way to acheive this? Many thanks!