• Resolved drevovoni

    (@drevovoni)


    Hello,

    is there any way to automatically add url from which the form was sent? I have form on each and every product page and there is column “Name of the product you need info about” which is unneccesary. I would paste actual url from the place the form was sent, and this would be solved.

    Thanks,
    Michael

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @drevovoni,

    If you just want the URL from where the form is submitted in the mail then you can use the special mail tag: [_url] mentioned here.

    If you want the Product information like title, Id or URL in the hidden field of the form which you can use in the mail then you can use Contact Form 7 Dynamic Text Extension.

    Ex:
    Product Name:
    [dynamichidden product-name "CF7_get_post_var key='title'"]

    Product URL:
    [dynamichidden product-url "CF7_URL"]

    Thread Starter drevovoni

    (@drevovoni)

    Thanks for perfect and understandable answer!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to send url in email’ is closed to new replies.