Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Bizforms - dynamic emails View modes: 
User avatar
Member
Member
polarwarp-gmail - 6/22/2009 11:35:02 PM
   
Bizforms - dynamic emails
Hi,

I've had a look at the basic bizform behaviour and like it! However what I'd really like to do is have a form with a dropdown list which in turn drives the receiver of the email that gets generated.

eg. list of offices, the value might be the email address. On submission - I want a mail to go to both a static head office address as well as the office email that was selected in the drop down list. I obviously need this to be dynamically driven.

Is this possible? If not is the only solution to build my own standard form (which then loses the advantage of normal users being able to add/customise the form.

Thanks

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/29/2009 5:39:41 AM
   
RE:Bizforms - dynamic emails
Hi,

You can follow this examples where it is shown how to send e-mails from bizform. In the OnAfterSave event, you can get the values from the form info and according to the value in that particular field, you can decide where the e-mails should be sent. I hope it will help.

Best Regards,
Juraj Ondrus