How the form has been added to the single page? WPForm shortcode?
If there is an easier way to integrate it, let me know. I don’t even have to use this specific form plugin. I just need a way for students and parents to be able to email their teachers/staff through the staff directory.
Have you used Staff List field type Shortcode?
[wpforms id=”5474″ title=”false”]
It’s a shortcode to one form that I’ve created. I just made the recipient me to test the emails, but I want a way to make this recipient dynamic to each employee for the staff directory.
Dynamic recipient? Is it an email address?
It’s currently set as just my email address yes. But do you understand what I’m trying to do?
I understand the dynamic recipient is the email address. Or maybe you want to have different field based on recipient?
https://prnt.sc/138chcr
So this is how it’s currently set up, this was just for testing.
The shortcode is showing the contact form which I set up, but it’s only a form that’ll be directly emailed to me. I’m trying to figure out a way to make this field dynamic, so I could possibly input a placeholder or some other shortcode to grab the email for whichever employee for the form is on. This way students or parents can go into the staff directory and directly email any staff employee. Would there be any way that this is possible through your plugin?
The only way I can make it “dynamic” is by making the user input the teacher’s email which would be displayed right above, taking that input and using that placeholder to send the email to that person. But, if there is a way I can pull the email of the staff member right into the form, this way all they have to input is their email and their message.
Sorry for the detailed questions. What you need is a WPForms shortcode with email address as an attribute. Something like:
wpforms id="5474" title="false" email="[email protected]".
I’m not familiar with WPForms plugin. This option may be already available or custom shortcode has to be created. Please contact WPForms.
-
This reply was modified 5 years, 1 month ago by
abcfolio.
-
This reply was modified 5 years, 1 month ago by
abcfolio.
OK, so there is no way for me to pull the email address from your plugin?