generating or figuring urls with a form or on a page
I’m trying to build a form so that when the info is submitted, the viewer is redirected to a page where they can access a specific pdf file. Because there will be 70 of these, the form should ideally be as automated as possible. These people will not be members of the site.
I had two thoughts:
One, pass the current page (the one the form is on) title into the redirect, and add something like”pdf” so I create a new url to redirect to;
Or, two, on a generic page they are redirected to, have it recognize what page they came from, and show them the pdf they were requesting.
My question is, how can I add generated information to the redirect url in Contact Form 7, OR, how can I get a page to recognize what page the viewer just came from (which isn’t the same as wordpress previous page)?
- The topic ‘generating or figuring urls with a form or on a page’ is closed to new replies.