DisplayForm
Shows or hides an email form.
If the message contains errors the form is displayed regardless of the value set in this parameter.
Values
- true (default). Shows the email form.
- false. Hides the email form.
Example
var MailObj;
MailObj = CRM.GetBlock("messageblock");
MailObj.Mode = 2;
MailObj.DisplayForm = false;
CRM.AddContent(MailObj.Execute());
Response.Write(CRM.GetPage());
Sends a message without displaying the email form. Displays the email form only if there are errors.