Title: Using URL Variables
Last modified: May 23, 2017

---

# Using URL Variables

 *  [slevine42](https://wordpress.org/support/users/slevine42/)
 * (@slevine42)
 * [9 years ago](https://wordpress.org/support/topic/using-url-variables/)
 * Hello. I appreciate any help that anyone can give me.
 * If I pass a variable in to a contact form via a url, can it be used in a contact
   form?
 * For example, if I have a button that when pressed takes you to a Contact 7 form,
   can I pass a variable in to the form? If so, what is the syntax to use it?
 * So from my starting site I use webname.com/contact_form_page/?name=”testing” 
   to get to the contact form, what is the syntax for using the variable name?
 * Many thanks again.
 * Scott

Viewing 1 replies (of 1 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [9 years ago](https://wordpress.org/support/topic/using-url-variables/#post-9162120)
 * See [Getting Default Values from the Context](https://contactform7.com/getting-default-values-from-the-context/)

Viewing 1 replies (of 1 total)

The topic ‘Using URL Variables’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/using-url-variables/#post-9162120)
 * Status: not resolved