The gSignature application supports formatting of mobile and landline phone number.
The variable $(formattedMobileNumber) - formats the mobile number from the variable $(mobileNumber) , if it is completed.
After formatting, the final appearance of the number is with spaces, such as: +44 736 054 233
Variable $(formattedPhoneNumber) - formats the landline number from the variable $(mobileNumber) , if it is filled in. When formatted, the number contains spaces and the country code, e.g: +44 736 054 233.
Tip : When you write a mobile or landline number in the footer then remember that it is good practice to define it as a link, so that mail programs on phones and computers will recognize such a number and can dial it correctly, as ready to call.
With the help of gSignature, you can set up a number that looks good and dials correctly.
This is done in the following way -> in the html code the phone number must be a link, but we link the number without formatting, we show the already formatted one, for example:
<a href="tel:${mobileNumber}">${formattedMobileNumber}</a>