*Note: This tutorial for FLATPACK version older than 4.0
If you are using FLATPACK version 4.0 or newer, you can add a redirect link directly from the builder by switching the builder to “Details” mode, after that click on the form, then open “Form Builder” tab from the left sidebar and input your redirect link in the link field.
To redirect the page to a specific link after form submission please follow these steps:
- Get the form name by opening the “source” of the section from the builder (you can find it at the first line):
- After exporting the page, open the file “js-files/custom1.js” and find the section related to form’s name (in our example: corporate).
- find this line of code inside the section:
*Note: the number 2 will be different according to form’s number.
- Replace the previous line of code with this line:
window.location.href = "http://pixfort.com";*Replace with the URL you want to redirect the user to it after successfully submitting the form.