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-hf-control="PhoneButton"
data-hf-options="{
phoneId:'phone',
buttonHeading: 'Customer',
buttonLabel: 'Skype',
buttonType: 'large'
}"
></div>
FormControl Options​
buttonType - required​
Define the size of the button ('small', 'medium' or 'large').
How to use:
buttonType: 'large'
Type:
'small' | 'medium' | 'large'
phoneId - required​
Provide the ID of the Form Control recieving the phone number.
How to use:
phoneId:'phone'
Type:
string
buttonHeading​
Define a label for the control element.
How to use:
buttonHeading: 'Customer'
Type:
string
buttonStyle​
Define the style of the button.
How to use:
buttonStyle: 'primary'
Type:
'default' | 'primary' | 'success' | 'error' | 'warning'