Skip to main content
Version: 9.2

MailButton

The MailButton invokes the local installed E-Mail program and passes filled in email address information and the prefdeined subject string.

<div id="mailButton" 
class="pdf-hide"
data-win-control="HFWinJSCtrl.MailButton"
data-win-options="{
mailId: 'email',
mailSubject: '[HybridForms]%20Demo%20-%20Info-Mail',
buttonLabel: 'Open mail',
buttonType: 'medium',
buttonHeading: 'Mail'
}"></div>
PropertyTypeHow to useDescription
mailId *StringmailId: 'email'Provide the ID of the form control containing the email address.
mailSubjectStringmailSubject: '[HybridForms]%20Info-Mail'Define a subject line.
iconStringicon: 'fa-barcode-scan'Sets the icon of the button
buttonLabel **StringbuttonLabel: 'Open mail'Define the button caption. Only visible by chossing buttonType 'medium' or 'large'
buttonType *StringbuttonType: 'medium'Define the size of the button ('small', 'medium' or 'large').
buttonHeading **StringbuttonHeading: 'Mail'Define a label for the control element.

* These options are required.
** Please provide at least one of these options.