When you setup PM form on my page.
– Create a contact form
Please create a contact form and get a the form id.
Detail : ( http://directory-docs.wpjavo.com/contact-widget-setting-on-single-item-page/ )
You can also add a ninja form. our demo is using a contact form 7
You need to set some additional settings for MP forms.
– Contact form 7
Please download “Contact Form 7 Dynamic Text Extension” plugin and install on your site. ( Plugin page )
Add this tag on contact form setting page of your form. (this won’t be visualble, so you can add it anywhere)
[dynamichidden current_member_email “JV_CONTACT_PM_FORM”]
**Due to encoding issue, you need to add ‘quotation marks” after you copy and paste.
After adding the code to the Form tab, please save the form once.
and please move to the Mail tab. You will see a mail tag titled [current_member_email]
here. Please enter this into the “To field”.
You will see the message ‘This field has syntax errors.’.
You should ignore this. This PM form is normally working.
*notice: This can be used only by pm form. If you add it to general page or listing, this form won’t work.
– Ninja forms
1. First of all, if you are using 3.x version of ninja form, you need to “Rollback” to v2.9.x.
You can have a look at a notice on this link.
3. Please move to “Email & Actions tab” and create “Email type” (Detail)
You can setup all of fields you want. however, you need to setup “PM Email” on “To field”
A sample form is attached on this link.
You can also import it and make some modify to use it.
How to import : https://ninjaforms.com/docs/import-export/
– Add the contact form id.
Go to dashboard ==> Theme settings ==> General ==> My Page PM Form Settings
And add the contact form id on “PM Form ID”.