wordpresscontact-formcontact-form-7

Why Custom contact form 7 returns empty content?


I use this contact form 7 to generate a bit more custom form but on the test that I did, I get a mail without the content. How can I solve this issue?

<label> Your Name (required)
    [text* your-name] </label>

<label> Your Email (required)
    [email* your-email] </label>

<label> Subject
    [text text-207 "weekly demo"] </label>

<label> Role Within the Company </label>
 <p>[checkbox RoleInCompany "Business" "Technology" "Strategy"] </br>


[submit "Send"]

The content of the received email:

Subject: [your-subject]

Message Body:
[your-message]

-- 
This e-mail was sent from a contact form on  (http://bbbb.com)

Solution

  • It is because you have removed [your-subject] and [your-message] shortcodes from your template. Add your custom shortcodes via "MAIL" tab.

    enter image description here

    It should look like this:

    From: <[your-email]>
    Subject: [text-207]
    
    Name:
    [your-name]
    
    Role in Company:
    [RoleInCompany]