Support » Plugins » Get info from one page and put it into Contact Form 7

  • Hi everyone,

    Would be so so grateful for any help.

    Basically I have multiple products listed on a page, each product has a button next to it saying ‘add to quote’. I want the product name to then automatically be placed into a form using contact form 7 on another page. I am using Contact form 7 and have installed Contact Form 7 Dynamic Text Extension.

    I have never learnt coding properly but am a little self taught. How do I do this? There have been mentions of this issue online but most of it is too advanced for me.

    Any help would be much appreciated. I have been trying to do something with CF7_GET key=’value’ but I don’t think I am doing it correctly.

    Please help!

Viewing 1 replies (of 1 total)
  • You need to be sure to pass the variable in the link to the form, as in:
    <a href="">Add to quote</a> – that may require changes to your product list to add that info to the generated url

    then, when you create the form, use a dynamictext field for the productname:

    [dynamictext productname "CF7_GET key='prodname' "]

    then CF7 / Dynamic Text will take the data from the field sent along with the url, and add it into your form

    you may or may not wish to make the field editable when you create it in CF7

Viewing 1 replies (of 1 total)
  • The topic ‘Get info from one page and put it into Contact Form 7’ is closed to new replies.