I had a need on a WordPress forms using Gravity Forms to determine which button was clicked to get to the form. Dynamic Population allowed that a query string could be added to the URL of the button and pass a parameter into the form. This is down by using a hidden field to store the query string and dynamically populate the field value.
The URL would be something like:
http://siteurl.com/form-url/?your_parameter=value
Resources