Pass variables from shortcode to form
-
I am using Contact form 7 in a popup, I’m using do_shortcode to call it via onclick on a custom php page. On that page I am using a foreach to list out some people and their various information, in that foreach I am printing out the link to the shortcode for the contact form. All of that works so far. My question is this:
I would like to pass a person’s name into the form when they click on the popup link and add it to either the subject or body etc. Any thoughts on how to do this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Pass variables from shortcode to form’ is closed to new replies.