Form destination conditional on radio buttons

I need to find a way to have the form destination/on submit, change dependent on a radio button in the form.

To give more detail and an example; let’s say I have a form and on the form is a radio button question with three options - a, b, c.

If the user selects radio button ‘a’, on submission I need the form to direct to destination ‘x’
If the user selects radio button ‘b’, on submission I need the form to direct to destination ‘y’
If the user selects radio button ‘c’, on submission I need the form to direct to destination ‘z’

Any ideas?