I am still updating the documentation for some newer features, which includes the dynamic field population.
The Form Settings documentation touches on how to pass form data to a redirect as the confirmation page (in this case it would pass these values to another form page):
http://www.gravityhelp.com/documentation/form-settings/
On the Form Settings when you select the Confirmation tab, one of the options is a redirect. You would use this redirect and the query string builder that accompanies it to give the URL of the page you want to redirect to, and then build a query string of data that you want to pass to that confirmation page redirect.
There isn't much to using query string parameters on the fields themselves to pre-populate them using the query string.
- Edit a Form
- Edit a Specific Field
- Select the Advanced Tab
- Check "Allow field to be populated dynamically" checkbox
- Give the field a parameter name (ex. for email you could make the parameter name email)
The parameter name is what you use in the querystring to pass the data to the form. So in the example above I gave the field a parameter name of email. To pass data to it I would do so like this:
mydomain.com/path/to/form?email=my@email.com
If you followed the steps above, doing so would then populate the field that has been set as "email" with the values passed to it via the query string parameter "email".
That about sums it up... give it a try and you will see once you get going it's pretty simple.
Posted 14 years ago on Wednesday February 3, 2010 |
Permalink