• I need a contact form that recognizes the page it was directed from.

    On our site there are various pages and each one offers a unique .pdf brochure. To download it you have to fill out a contact form. At this time I have one form for each brochure/page, then the data from each form gets sent to a combined form. What I would like to do is set up just one form with a variable (the name of the page and or brochure) so that it knows which page it was called to and will put the data and the page it was called from in the database and then download the brochure that goes with that page.

    I imagine this would involve having a variable in the contact form that is filled be a value from the page in question, but I don’t know how I would set this up.

    Any thoughts?

    Thank you,
    Will

    https://wordpress.org/plugins/contact-form-7/

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

    (@willbell)

    Right now I have built a new form for each page. The forms are identical but I need the database to tell me which page they came to the form from, one of the Webinars, one of the brochure download pages?

    What I would like is to give each page a unique identifier, and then when the contact form is filled out and sent I would like it to open a different page, based on the page identifier, and make an entry in the database with a column identifying which page the contact form was on when filled out.

    Thank you,
    Will

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Variable on Contact Form 7’ is closed to new replies.