Can I send the posted data to another form or 3rd party API?
Yes, there is more than one way to do this.
Redirect to another site
One way is to use the redirect settings to send the posted data via GET query string to a another form. The user will be redirected to the other form and end up on that page. This setting is located on the Advanced tab on the form edit page.
See FAQ page: Posted data can be sent as a query string on the redirect URL
Silent Remote Sending
Another way is to use the “Silent Remote Sending” feature. This is located on the Advanced tab on the form edit page.
Posted form data can be sent silently to a remote form using the method GET or POST.
If enabled: After a user sends a message, the form can silently send the posted data to a third party remote URL. This can be used for a third party service such as a mailing list API. Select method GET or POST based on the remote API requirement.
Fill in these settings as needed:
Click “help” next to each setting to learn more about what it can do and how to use it.
Silent Remote Sending:
Select method GET or POST based on the remote API requirement.
Silent Remote URL:
The form will silently send the form data to this URL after success. This can be used for a third party service such as a mailing list API. Use FULL URL including http:// for best results.
Silent send fields to ignore:
Optional list of field names for fields you do not want included. Start each entry on a new line. Use this feature to omit sending fields that are not needed to be sent to the URL. Click ‘help” to see the list of fields you can select. Note: If you add any extra fields, they will show up in this list of available tags.
Silent send fields to rename:
Optional list of field names for fields that need to be renamed. 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
Use this feature to match the field names to be sent to the URL. The URL will likely require different names than the names this form uses, so this feature allows you to transform the names to match.
Silent send key value pairs to add:
Optional list of key value pairs that need to be added. 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
Use this feature to add field names to be sent to the URL. The URL may require additional data that was not collected on your form.
Silent Conditional Field (optional):
Silent Conditional Value (optional):
Use this optional setting to conditionally disable silent sending unless a certain field tag and value are selected and submitted. Example usage: Your form has a checkbox to “signup for our newsletter” with the tag “signup-newsletter”. You do a silent send to MailChimp to sign up people to the newsletter but you want to disable the silent send if the checkbox is left unchecked. For this example you will set the Silent Conditional Field to “signup-newsletter” and the Silent Conditional Value to “selected”, this will match the field tag and value when the checkbox is selected on the form.
Disable email sending (use only when required while you have enabled silent remote sending)
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 URL. Note: the confirmation email (autoresponder) will still send email if it is enabled.
The silent send feature does not have the possibility of redirecting back to your site because it was sent off silently in a separate process. You can have the form submit redirect to your own thank you page using the redirect on the advance tab, if that is all you need, but the process that was sent off does not redirect to anything they can see.
If you need the form to redirect to another site for processing and then show the user a results page, you can enable the setting “Enable posted data to be sent as a query string on the redirect URL” then you set the redirect URL to the other site. All activity on the other site is visible to the user.
If you need to send to more than one URL at a time, I have some code I can send you that works using the do_action hook. Make a support ticket if you want that code.
See related post: Troubleshooting the Silent Remote Sending or Redirect Sending
“This modification took approx 11 hours for me to program and test. If everybody who uses it just donated a few $$ I would appreciate it, though donating is not required. Thanks” – Mike ChallisDo you need help?
Send us a Donation: