• Resolved PetrP

    (@petrp)


    Hi,
    by far the best blocks plugin!
    But i’m stuck with one detail: how to add the page url where the form was sent from, into the email? I try with a hidden field and had like 20 attempts in ‘field input’ but none is working.
    Thanks a lot!
    Petr

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @petrp

    On my test instance I was able to insert the source page url into ‘field input’ as you describe and receive it successfully in my email.

    Do you receive any of the information you submit in the form? Could you share a link to the form if possible?

    I’m running the following test environment:

    • WordPress Core 5.7.2
    • Kadence Blocks 2.0.3
    • Kadence Theme 1.0.21

    Best,

    Mike

    Thread Starter PetrP

    (@petrp)

    hi Mike,
    i should probably have mentioned more clearly that I’m looking for a global solution. We have the same form on over 100 pages. We can’t create 100+ forms 🙂
    Some tiny piece of code what triggers the page url in that hidden field.
    Thanks a lot!
    Petr

    Hi @petrp

    Ok, I understand what you’re after. I honestly don’t know if the form block could be configured as you describe. I’ll reach out to the developer for his input on how best to address. Great question.

    Hi,

    You can use {page_title} in the subject input which will give the page title that the form is on.

    I’ll put two placeholders for hidden fields in the next update {page_title} and {page_url}

    Ben

    Thread Starter PetrP

    (@petrp)

    Hi,

    well, that isn’t working. I tried that one before asking, and now again since you confirmed my idea, but all it returns is {page_url} while {page_title} returns empty.

    Thanks
    Petr

    Thread Starter PetrP

    (@petrp)

    Hi again,

    well now after the update, i can confirm it’s working!
    You’re the best! 🙂

    Thanks a lot,
    Petr

    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Glad that is working. sorry I should have made it more clear that those would be added with the next plugin update.

    Ben

    {page_url} works but {page_title} doesn`t work form me.

    How is this possible?

    Koen

    hannah

    (@hannahritner)

    Hi @koenvo,
    This thread has been marked as resolved. Can you please start a new thread and explain your issue in more detail?
    Thanks!

    Hannah

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.