Conditional Form redirect depending on form data

Permalink
Hi,

I have a pretty basic / fundamental requirement and that is to have users fill in a form with various text, checkbox and radio button controls but then depending on which options they check (in the checkboxes or radio buttons etc) redirect to different pages after they click Submit not just the same page everytime.

E.g. the simplest case might be that if they selected radio button Option 1 after Submit it goes to Page 1, radio Option 2 it goes to Page 2. But ultimately there may be some combinatorial logic such that if they selected checkbox 1 AND radio button option 1 it goes to Page X but if they selected checkbox 2 and radio button option 1 it goes to Page Y.

So basically I'm looking to somehow inspect the data on a form (either 'live' or as it is added to the DB) and then redirect to predetermined pages rather than just always the same page after form submission.

Thanks in advance for any help!

Tim