Support » Plugin: Contact Form 7 Dynamic Text Extension » Post Title does not show in email message

  • hello,

    i have used this to show the post title on each product page.

    [dynamictext subject “CF7_get_post_var key=’post_title'”]

    however when the form is filled with the correct title, it does not show in the email.

    i am using the following for the email:

    Subject: [subject]

    obviously this must be wrong. can you please let me know what i should use instead?

    thanks so much.

    Mark.

Viewing 3 replies - 1 through 3 (of 3 total)
  • nevermind – the syntax is actually correct – i had simply not copied it over to the secondary email which is where i was getting the error.

    thanks.

    Hey!!!
    I have a similar problem that i can’t solve,
    my form :

    Votre nom :[text* your-name default:user_display_name readonly]
    Votre e-mail :[email* your-email default:user_email readonly]
    Sujet :[dynamictext subject "CF7_get_post_var key=’post_title'"]
    
    <p>Message :[textarea your-message]</p>
    
    Votre dossier :[file your-file filetypes:pdf|txt limit:2mb]
    [submit "Envoyer"]
    

    My problem is the subject , i use the short code : [your-subject], but i receive your-subject in email.
    have you any idea ??
    thanks fr help.

    To recieve the page title is easy. Just put the following code in your form:

    [dynamichidden pagetitle "CF7_get_post_var key='title'"]

    And in your e-mail template put this code:

    [pagetitle]

    Thants it. It will work in the subject line and also in the text.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post Title does not show in email message’ is closed to new replies.