Passing data to a form only works if you have turned the ability on for the individual fields. If you haven't done that, here is what you need to do.
On the receiving form:
- Edit the field containing the zip code (might be standalone or an address field)
- Go to the Advanced tab
- Check the "Allow field to be populated dynamically" checkbox
- Give the zip code box a parameter name (ex. zipcode, zip-code, etc.)
- Save the form
The parameter is what you pass in the query string as you mentioned in your post above.
On the sending form:
- Edit the form settings
- Go to the Confirmation tab
- Choose Redirect from the available Confirmation options
- Enter the URL to the Receiving form (ex. /my-receiving-form)
- Click the Pass Field Data Via Query String checkbox
- Build your querystring in the provided box. To insert a form field value use the included "Insert form field" drop down which will output a field variable token.
Don't include the initial ? mark. So for example it might look something like this in the query string box if you used a parameter called zipcode and a field variable for a zipcode field on an address box:
zipcode={Address (Zip / Postal Code):1.5}
- Save the form
Please note the query string example I used won't work exactly as I have displayed it as the form field variable for the zipcode itself will vary from form to form.
If the above doesn't work we would need a WordPress admin login to the site so we can take a look and see what is going on. You can send this to us via our Contact Us form and reference this forum thread.
Posted 14 years ago on Wednesday April 14, 2010 |
Permalink