Jump to content
  • 0

Dynamic Redirect After Form Submission Setup With Two Dropdowns?


larsonchst

Question

I have a multi-step form (http://howto.caspio.com/tech-tips-and-articles/common-customizations/how-to-create-a-multi-page-form/) and I am using the dynamic redirect (http://howto.caspio.com/tech-tips-and-articles/common-customizations/dynamic-redirects-after-form-submission/) to make step 2 depend on a dropdown in step 1.

 

What I'm hoping to do is make this possible using two dropdowns instead.

 

Example:

 

Dropdown 1

 

A

B

C

 

Dropdown 2

 

1

2

3

 

Then in some way (parameters somehow) they are redirected to the url that goes with A1, A2, A3, etc depending on the combination.

 

Hopefully that makes sense. Anybody have any ideas?

 

 

EDIT: I'm thinking they may be able to be done by a cascading dropdown? Dropdown 1 autopopulates dropdown 2 with either A B or C fields and then when they choose from the second that is the redirect?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi - Just an update, you may now use Virtual Field and Calculated Value on this workflow.

You may use a Virtual Field as a holder or identifier of the value from the dropdown and then set the Form Element as Calculated Value. In the Formula, you may use a CASE WHEN statement like:

CASE WHEN [@FIELDNAME] = 'value'
THEN 'https://www.google.com/'
WHEN [@FIELDNAME] = 'value 1'
THEN 'https://caspio.com/'
ELSE
https://www.youtube.com/
END

After setting up the formula, on the Destination and Messaging configuration screen, set the Destination after the record submits to 'Go to a New Page'. Lastly, in the Page URL, call the Virtual Field from the field picker.

For reference, you may check these links:

https://howto.caspio.com/datapages/datapage-components/virtual-fields/
https://howto.caspio.com/datapages/datapage-components/calculated-values/
https://howto.caspio.com/function-reference/
https://howto.caspio.com/datapages/forms/submission-forms/#:~:text=to make conditional.-,Destination and Emails,-Here you can

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...