Conditional Confirmation URL

Created on 21 May 2018, over 6 years ago
Updated 7 October 2021, about 3 years ago

Hi, apologized if this question doesn't seem appropriate.

But I have a case like this:
* Given user choose one of the option from dropdown selection field in Webform, once user click Submit button, they will be redirected to the page based on that user selected.
ie: When user select "Facebook", once user click Submit button, they will redirect to facebook.com

I thought this should be achievable using Conditional field or put a token in Confirmation URL setting, but none of them seem to be working.

Could you advise on how to do as per mentioned above?
If this feature hasn't existed yet, I would like to offer my self to develop it. But would like to know where should I started, is it by creating a Webform Plugin or how?

Thanks in advance.

Regards,
-Ardi-

πŸ’¬ Support request
Status

Fixed

Component

Code

Created by

πŸ‡ΈπŸ‡¬Singapore ardnet

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States neuquen

    For those of you looking at this issue today, there is no need to create a settings handler for this. You just need to do the following:

    1. Create a radios/checkboxes element
    2. Set each option value as the URL, with the option text being the text to display to the end-user
    3. On the confirmation settings, use a token for the confirmation url: [webform_submission:values::raw]

    That's it!

Production build 0.71.5 2024