Title: URL query parameter possible?
Last modified: July 25, 2018

---

# URL query parameter possible?

 *  Resolved [dippli](https://wordpress.org/support/users/dippli/)
 * (@dippli)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/url-query-parameter-possible/)
 * Hi,
 * I was wondering if it is possible to grab and pass the URL from the CF7 form 
   as a URL query parameter when you hit the send button? I need a URL to be passed
   for auto insert on a form on the page it redirects to. I basically need it to
   look like this:
 * [https://www.redirectedURL.com](https://www.redirectedURL.com)**/?url=https://
   www.URLfromFORM.com
    
   
    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Kaspars](https://wordpress.org/support/users/kasparsd/)
 * (@kasparsd)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/url-query-parameter-possible/#post-10532954)
 * Thanks for the suggestion, [@dippli](https://wordpress.org/support/users/dippli/)!
 * This is not currently possible with the plugin but I have opened an issue for
   a future release:
 * [https://github.com/kasparsd/contact-form-7-extras/issues/23](https://github.com/kasparsd/contact-form-7-extras/issues/23)
 *  Thread Starter [dippli](https://wordpress.org/support/users/dippli/)
 * (@dippli)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/url-query-parameter-possible/#post-10533092)
 * Hi Kaspars,
 * Thanks for looking into it and adding it to the list.
 * I kinda solved it with the CF7 redirection plugin, but it can only parse either
   nothing or everything from the form so I had to do a 2 step form solution in 
   order to only grab the URL. The first form grabs the customers details (name,
   email etc) and second form grabs the URL and sends it to us and also to auto 
   fill the URL test field on this site [https://gtmetrix.com](https://gtmetrix.com).
   Not an optimal browsing experience, but it will have to do for now. You can see/
   test the form here [http://webspeed.solutions/speed-test](http://webspeed.solutions/speed-test).
 * Maybe something to consider, giving people a choice of which field(s) to use 
   as the URL query parameter(s).
 * Thanks for your help.
 *  Plugin Author [Kaspars](https://wordpress.org/support/users/kasparsd/)
 * (@kasparsd)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/url-query-parameter-possible/#post-10538174)
 * Thanks for the update [@dippli](https://wordpress.org/support/users/dippli/)!
 * I was thinking of adding support for form field variables to the URL field where
   each instance of `[field-name]` would be replaced with the actual form entry 
   value. What do you think?
 *  Thread Starter [dippli](https://wordpress.org/support/users/dippli/)
 * (@dippli)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/url-query-parameter-possible/#post-10547540)
 * Hi Kaspars,
 * I think that might be a good idea as other people need to parse different values–
   I saw that is some other posts for other plugins. As long as there is freedom
   to choose what to and what not to parse then I think it will be very useful.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘URL query parameter possible?’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7-extras/assets/icon-256x256.png?rev=1917847)
 * [Controls for Contact Form 7 (Redirects, Analytics & Tracking)](https://wordpress.org/plugins/contact-form-7-extras/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-extras/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-extras/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-extras/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-extras/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-extras/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [dippli](https://wordpress.org/support/users/dippli/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/url-query-parameter-possible/#post-10547540)
 * Status: resolved