Forums

Dynamically redirect based on choice radiobox

JBS 22 Oct, 2019
Is it possible to redirect to an URL after submitting the form where the last part of the URL is based on the chosen value in a radiobox?

Radiobox with values 1, 2, 3, 4, 5 where:
1 --> abc
2 --> def
3 --> ghi
4 --> jkl
5 --> mno

Redirect URL where, based on the chosen value, would be https://domain.com/link/*parameter* (for example 'ghi' which results in https://domain.com/link/)https://domain.com/link/ghi

I am trying to do this with the 'Extra params' of the redirect action, but I am not able to append the value of the radiobox to the URL.
healyhatman 22 Oct, 2019
I dunno about v5, but it's trivial to do in v6.
GreyHead 23 Oct, 2019
Hi JBS,

The Redirect action will add parameters in the form &param_name=value - if you want to add it in the form /value then you will need to use Custom Code.

Bob
JBS 24 Oct, 2019
Thanks Bob. Is there any documentation or other topic that you know where I can start with to accomplish this?
JBS 28 Oct, 2019
I'll switch to ChronoForms 6 to accomplish this, using the demo form 'Event switching'. Works very well (and easy to configure).
This topic is locked and no more replies can be posted.