PhoneButton
The PhoneButton offers the possibility to dial a phone number provided by an input field inside your form by a dial-up application i.e. "Skype" or the mobile device.
<div id="phoneButton1"
class="pdf-hide"
data-win-control="HFWinJSCtrl.PhoneButton"
data-win-options="{
phoneId:'phone',
buttonHeading: 'Customer',
buttonLabel: 'Skype',
buttonType: 'large'
}"></div>
Property | Type | How to use | Description |
---|---|---|---|
phoneId* | String | phoneId:'phone' | Provide the ID of the form control recieving the phone number. |
icon | String | icon: 'fa-barcode-scan' | Sets the icon of the button |
buttonHeading | String | buttonHeading: 'Customer' | Define a label for the control element. |
buttonLabel | String | buttonLabel: 'Skype' | Define the button caption. |
buttonType* | String | buttonType: 'large' | Define the size of the button ('small', 'medium' or 'large'). |
* These options are required.