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>
Property | Type | How to use | Description |
---|---|---|---|
mailId * | String | mailId: 'email' | Provide the ID of the form control containing the email address. |
mailSubject | String | mailSubject: '[HybridForms]%20Info-Mail' | Define a subject line. |
icon | String | icon: 'fa-barcode-scan' | Sets the icon of the button |
buttonLabel ** | String | buttonLabel: 'Open mail' | Define the button caption. Only visible by choosing buttonType 'medium' or 'large'. |
buttonType * | String | buttonType: 'medium' | Define the size of the button ('small', 'medium' or 'large'). |
buttonHeading ** | String | buttonHeading: 'Mail' | Define a label for the control element. |
* These options are required.
** Please provide at least one of these options.