This is a tutorial posed in the Forums by Users Colnem and Carramone which shows how to change the recipient Email based on the Active Language and a Dropdown selection. The same methodology can be used with different variable data.
PART 1
Setup a dropdown that you would like to use to set different recipients. Note the "field name" of this dropdown. in this tutorial it is "my_dropdown"
my_dropdown
Set any number of selections here. Note each selections' "value". These values will be used to set variables that we will use to change the recipient.
In this tutorial we have three.
value: serviceemail text: Service mail
value: marketingmail text: Marketing mail
value: financeemail text: Financial mail
Under behaviors, add the "Required" tag under "validation". This is just a precaution so that we don't end up with a form without a recipient. This can be avoided by setting a "catch all" recipient, but I have not done that in this tutorial.
PART 2 - Switch to the action editor for PAGE 2 of your form.
Drag a PHP action editor for PAGE 2 of your form.