I have successfully created a basic Chronoforms form with the standard 'To' field sending the form data in an email to one recipient. However, I would like the 'To' field to become a 'Dynamic To' that will send the form to different users based off of the value of one of the dropdown fields I have in the form. I couldn't find any good documentation on how to use the 'Dynamic To' or accomplish this. Anyone have any thoughts?
+2
A:
In chronoform you use the dynamic fields simply by writing the name of the form field into the respective E-Mail field.
So if the name of your dropdown is email_choice
you write email_choice
into the "Dynamic To" field of the E-Mail setup box and you're good to go.
tharkun
2010-01-24 22:16:08
Tharkun,thanks for the quick response. The issue is that my dropdown is a list of sports. I need to basically set an email address to correlate with each item in the dropdown though. Normally this could be done simply through a case statement or series of if statements, but I'm not sure if this is possible to do in Chronoforms itself.Thanks again for any help you can provide.
jmarx34
2010-01-24 22:18:49
You can set the options of the dropdown list as sports and the values as email addresses: `<option value="[email protected]">sport</option>`
tharkun
2010-01-24 22:21:29