How to Customise Bizform ???

gopi c asked on May 2, 2016 11:30

I need to customise bizform when user clicks on the submit js will validate data if validation is success i need to send a mail based on the dropdown value.

if select Event Alert i need to send mail with that particular email template like alert email template. if select payment i need to send mail with that particular email template like payment email template. if select Login i need to send mail with that particular email template like login email template.

like that i need to send the email based on dropdown value for every option i have unoque email template.

how can i achieve it ???

Correct Answer

Jan Hermann answered on May 2, 2016 14:30

It could be like this:

{%
if (dropDownEmailField=="some@email.com") {
%}
<p>This is some email email message</a>
{%
}
|(identity)GlobalAdministrator%}    

And of course, as many times as many emails you list.

1 votesVote for this answer Unmark Correct answer

Recent Answers


Jan Hermann answered on May 2, 2016 13:46

Do you really need a javascript validation? Kentico offers really great validation rules by default and also a notification message can be customized based on selected drop-down list value.

1 votesVote for this answer Mark as a Correct answer

gopi c answered on May 2, 2016 13:55

I am already done with validation but notification message is dependent on the drop down value. if my dropdown contains 5 values each value has it's own unique email template if i selected value 3 then i need to send email template 3 or i selected value then i need to send email template 5 like that that's why i choose customization or is there any other way to do it in cms with conditions ????

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on May 2, 2016 14:04

Then create a global event handler to determine which email template gets sent. OR use macros in your current auto responding email to modify values or format your email.

0 votesVote for this answer Mark as a Correct answer

gopi c answered on May 2, 2016 15:11

How to get specific email template in macro ????

0 votesVote for this answer Mark as a Correct answer

Chetan Sharma answered on May 2, 2016 19:56

Hi Gopi,

Our Kentico MVP Brenden wrote this articleto help us.

Plese take a look. This is full with great examples.

Cheers Chetan

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.