Hello.
You can define
Field type: Drop-down list in your bizform and define values in pairs, like:
Value1; email1
Value2; email2
Then, you can ensure requested behavior in OnAfterSave() handler of your bizform, and according to value selected in drop-down list set SendNotificationEmail() method with requested e-mail address. For example:
if (viewBiz.BasicForm.FieldControls["SendTo"].ToString() = "value1")
{
viewBiz.SendNotificationEmail(<someparameters>);
}
else
(viewBiz.BasicForm.FieldControls["SendTo"].ToString() = "value2")
{
viewBiz.SendNotificationEmail(<someOtherparameters>);
}
You can access value of the field via
viewBiz.BasicForm.FieldControls["<columnName>"]
. You may need retype it as per field´s data type.
More info and example can be seen
here.
Best Regards,
Radek Macalik