- corretordanielAsked on November 30, 2017 at 10:41 PM
I use the same form in different domains. There is possible to apply a different redirect for each domain with only 1 form? It could be the same slug but the root domain needs to be different.
If the form is in the domain website1.com it redirect to website1.com/page-a
But if the same form is in the domain website2.com it redirect to website2.com/page-a
This is possible?
This is a re-post of a comment on Redirecting Users to a Different Page
- JotForm SupportBJoannaAnswered on December 01, 2017 at 03:04 AM
That is possible to achieve with the Thank You Page conditional logic.
To achieve this you will also need to use Get Form Page URL widget to find on which website the form is used and the Update Calculate conditional logic.
To capture the page URL you will have to add Text Box field to your form and pass the value from the widget to the text Box field. You will have to use some other field on your form to trigger this conditions. It can be any required field on your form.
For example, if you have the Full Name field on your form, you can set the condition like this.
Then based on the value that is passed to page URL field you can set the Thank You page Conditional logic.
Here is my demo form, where you can see how to get the page URL: https://form.jotform.com/73341671305956
Feel free to test it and clone it.
Hope this meet what you are looking for.