Hi @vic97ita
Thank you for posting your question to the community! Unfortunately, as far as I am aware you can only set a URL redirect on the button element in the form builder (at least using the native functionality). So, if you wanted to redirect to a specific URL based on a response, that response action would need to be tied to a button which may or may not be ideal depending on how many data points you are trying to collect in the form.
I think this is a great idea though and something to pass along to the Klaviyo product team (tagging @kaila.lawrence internal visibility).
Thanks,
@In the Inbox
Hi @vic97ita
In situations like this I recommend Typeform. They allow you to build and embed forms with logic that directs users to different pages / content depending on the answers they provide.
Thanks,
Ross
Hi @vic97ita
Klaviyo's native form builder does not currently support conditional redirects based on user responses (e.g., dropdown or radio button selections). However, we can achieve this functionality through custom coding(JavaScript) and leveraging Klaviyo's flow. How to Set Up a Conditional Redirect After a Klaviyo Form Submission:
1) Capture Form Data:
Use JavaScript to intercept the form submission and grab the key response (e.g., dropdown or radio button value).
2) Set the Redirect URL:
Use conditional logic in JavaScript to map the user's answer to a specific thank you page URL.
3) Redirect the User:
Redirect them using window.location.href based on the selected response.
4) Optional – Trigger a Klaviyo Flow:
Set up a flow triggered by the form submission, use a Conditional Split to personalize follow-up actions (note: this doesn’t handle redirects, only email journey paths).
Some Best Practices:
1) Redirect immediately after submission to avoid confusing users. Don’t use unnecessary set Timeout (delays unless you need a transition.)
2) Always have a default thank you page in case the user's answer doesn't match any condition (e.g., typo or no selection).
3) Make sure your custom script works on all browsers, especially mobile, where event handling may differ slightly.