Select Redirect Url in your form’s confirmation options (located in Submission Settings). With our conditional logic now set up, it’s time to write our prefill code: Lastly, don’t forget to open up your form preview and test out your calculation:.You can adjust this calculation as needed to match your specific criteria. If a user selects Form B, then the calculation will output the Url to Form B. So, if a user selects “To Google”, the calculation will output the corresponding Url (“”). This expression outputs a specific Url depending on which option a user selects from a Choice field on your form. = if ChoiceField = "To Google" then "" else if ChoiceField = "Form B" then "" else if ChoiceField = "Form C" then "" else "" For your calculation, use a simple if/then statement:.Make sure to set this field to Internal view only. Add a Calculation field to your form set to Text type. And, with the help of some conditional logic, you can even send your users to a different prefilled form depending on the information they submit! Conditional redirectsįirst, we need to determine the criteria that redirects users to different Urls: In the latter case, you can actually use a prefilled code to transfer field data (Name, Email, Address, etc.) from one form onto another. You can redirect your users to any Url whether it’s a page on your website, or another Cognito Form. There are a ton of ways to customize your form’s confirmation page - including the option to instantly redirect your users to a specific page after they submit their form.
0 Comments
Leave a Reply. |