What are secondary form submissions?
Secondary form submissions allow you to send form data to two different locations simultaneously. This feature helps when you need to process the same submission in different ways or on different platforms.
How to enable secondary submissions
Follow these simple steps to set up secondary form submissions:
Create a new hidden field called 'secondarysubmissionurl'
Choose how to populate this field:
Select fixed value as a pre-population source in the field settings.
Select Gate editor as a pre-population source to let editors directly specify URLs when creating gates
Use rules to dynamically control when and where secondary submissions are sent
Publish your change
Test your implementation to ensure it works correctly
Once configured, Formulayt automatically checks this field whenever a form is submitted. If it contains a valid URL (starting with https://), a secondary submission will be sent to that location.
Important technical notes
When using secondary submissions, be aware of these technical details:
The secondary submission always uses a basic Fetch request format
Formulayt does not monitor secondary submission success or failure
No alerts are sent to users if the secondary submission fails
If the field is blank or doesn't contain a valid URL, no secondary submission occurs
Best practices
For reliable secondary submissions:
Thoroughly test your secondary submission endpoint
Ensure your receiving endpoint doesn't use validation rules that could cause failures
Consider using a logging service at the secondary URL to track submission activities
