Support » Plugin: Contact Form 7 Dynamic Text Extension » Refering Page Title

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author sevenspark

    (@sevenspark)

    Hi Rutzki,

    You’d need to pass that page/post title as GET/POST parameter, or else perhaps save and retrieve from a cookie, in order to do that.

    If you mean from an external site (which you don’t control), then the best you could do would be to use the Referrer URL.

    Hope that helps,

    Chris

    Hi,

    i tried to put in the following code.

    <form action="#url_cf7" method="get">
       <input type="hidden" value="#_EVENTNAME" name="name">
       <input type="hidden" value="#_EVENTDATES" name="date">
       <input type="submit" value="Zur Anmeldung">
    </form>

    so what next to show up the infos on the cf7 page?
    Cheers

    Plugin Author sevenspark

    (@sevenspark)

    You would retrieve the values of each of your inputs with

    CF7_GET key='name'
    CF7_GET key='date'

    The action of your form should submit to the page that has the contact form, and the value of the inputs will be inserted into the dynamic text fields.

    Hope that helps,

    Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Refering Page Title’ is closed to new replies.