• Corbula

    (@corbula)


    I’ve looked through the forum and documentation but i can’t work out how i’m meant to do this.

    I’ve got a form on a product page which is just a few labels. I want to link them to a contact form and populate the form it goes to with the post title of the product, the page it came from.

    So i’ve got a product page, click on a link, goes to a contact form page with the product (post) title populating one of the fields.

    I’ve looked every where but can’t figure out how i’m meant to do this.

    https://www.ads-software.com/extend/plugins/contact-form-7-dynamic-text-extension/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Corbula

    (@corbula)

    I found this page which is supposed to explain how to do this but it doesn’t really.

    https://sevenspark.com/tutorials/how-to-create-a-dynamic-wordpress-contact-form

    I’ve got the contact form set up with a CF7_GET key to retrieve the value in the url but i don’t know how i get the post title in the url to pass it to the contact form.

    On that page i’ve linked to he has some php, but it never mentions where that’s supposed to go. I thought i would just be able to use a shortcode or something in the url to pass the title.

    Also all of a sudden in the url that goes to my contact form it’s putting the current page before the url i define. Does anyone know why it’s doing that?

    Thread Starter Corbula

    (@corbula)

    Still no closer. I thought this is what this plugin was meant to do, why is it so difficult to get a contact form to pass the post title to another contact form.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Contact Form 7 Dynamic Text Extension] Pass Post Title via URL to populate form’ is closed to new replies.