Pass query string to Webform text field I have a webform (www.mysite.com/myform) ad I want to be able to pass a URL string to a text field in the webform when a user visits the page and submits it. For instance, the URL provided to "customer A" might be www.mysite.com/myform?customer_name=customera and the URL provided to "customer B" might be www.mysite.com/myform?customer_name=customerb. I would like for the value of the text field "Customer Name" to be auto-populated with "customera" or "customerb" depending on the URL used to access the webform page.

Is this possible? If so, how can I accomplish this?

Going a bit deeper... if this is possible, is it also possible to pass two strings via the URL so that two separate fields are auto-populated? For instance, www.mysite.com/myform?customername=customera?customer_type=lead would auto-populate "Customer Name" with "customera" and would auto-populate "Customer Type" with "lead".

Thanks!
You can set a default value for each field on your webform.  The default value you would use would be 

For Webform v3 and under:

%get[customer_name]


For Webform v4+:

[current-page:query:customer_name]


To get a first and last name you could do something like:

URL:

http://mysite.com/myform?first_name=John&amp;last_name=Doe


First Name Default Value:

%get[first_name]                 //webform &lt;= v3
[current-page:query:first_name]  //webform &gt;= v4


Last Name Default Value:

%get[last_name]                 //webform &lt;= v3
[current-page:query:last_name]  //webform &gt;= v4