Posted data can be sent as a query string on the redirect URL

Question:
Can I send the posted data as a query string on the redirect URL to another form?

Answer:
Yes, support for this will be added in Version 2.9.7.2
This feature can be used to send the posted data via GET query string to a another form. You can also turn off the email message if you want. Also you can set certain form fields to ignore and not be included with the query string. And you can set certain form field keys to be renamed when included with the query string.

How to enable the query string on the redirect URL feature:

You can enable this on the contact form edit settings page settings in the “Redirect” section:
First you must check the setting “Enable redirect after the message sends.” Then you set a redirect URL with this setting: “Redirect URL”. Do not add the question mark character as it will be added automatically when the redirect happens.

Fill in these settings as needed :
Query string fields to ignore:
Optional list of field names for fields you do not want included in the query string. Start each entry on a new line. Use this feature to omit sending fields that are not needed to be sent to the redirect URL. Click ‘help” to see the list of fields you can select.

Query string fields to rename:
Optional list of field names for fields that need to be renamed for the query string. Start each entry on a new line. Type the old field name separated by the equals character, then type the new name, like this: oldname=newname
Examples:
from_name=name
from_email=email

Click “help” to see a list of available field tags. Note: If you add any extra fields, they will show up in this list of available tags. Use this feature to match the field names to be sent to the redirect URL. The redirect URL will likely have different names than the names this form uses, so this feature allows you to transform the names to match.

Query string key value pairs to add:

Optional list of key value pairs that need to be added to the redirect URL. Sometimes the outgoing connection will require fields that were not posted on your form. Start each entry on a new line. Type the key separated by the equals character, then type the value, like this: key=value
Examples:
account=3629675
newsletter=join
action=signup

Use this feature to add field names to be sent to the redirect URL. The redirect URL may require additional data that was not collected on your form.

Disable email sending (use only when required while you have enabled query string on the redirect URL):

Use this feature when you do not want to receive email, just send the data. No email will be sent to you!! The posted data will ONLY be sent to the redirect URL. This can be used to send the posted data via GET query string to a another form. Note: the confirmation email (autoresponder) will still send email if it is enabled.

Click “help” next to each setting to learn more about what it can do and how to use it.

redirect-query

See related:
Passing query string parameters to contact form page

Multi-page forms limitation:
If you are trying to make a multi-page form out of this feature, the fields with options do not pass properly to form 2 because it expects option number as query input. The problem is: Form 1 sends out options as value strings, but form 2 only accepts input from query options as key numbers, not value strings.
This is a known limitation that remains to be resolved in possible future updates.

Do you need help?

Send us a Donation:

Donate to Mike Challis

Comments are closed.