I know that there is a param for safecracker/safecracker registration form called return. You could define a static url.
Is there a way for a safecracker/safecracker registration form to redirect to a url based on some option inside the form itself?
I am not just talking about setting the url directly like(if even this is possible)
{exp:safecracker return="[redirect_url]"}
...
<input type="hidden" name="redirect_url" value="redirect/to/something">
...
I am talking about more advanced stuff like(using pseudocode)
if dropdown value = 1 then redirect to X
else if dropdown value = 2 then redirect to Y
else redirect to Z