|Help Centre

How do I replace phone number in links and forms?

Last updated at

Apart from replacing the numbers visible on the page, the script can also replace tel-URLs in forms and links.

In the example below the tel-URL will be replaced with the same number as the visible number.

<a class="fs-dynamic-number" href="tel:0850925010">08-50 92 50 10</a>

Please note that if the number in the tel-URL differ from the visible number, none of them will be replaced.

In the example below, the tel-URL in the action attribute of the form will be replaced with a tracking number in the same way as a visible number.

<form class="fs-dynamic-number" action="tel:0850925010" method="link">
  <button>Call us</button>

Did you find this article helpful?

Gold StarGreen LightYellow LightRed Light

Powered by Customer Thermometer

If you still need help you can ask our Support team