Open a alert box when Call Now is clicked

I have an attribute on vendor blocks for calling the vendor.
The field type is text and I use this anchor tag html code in the display format

It works perfectly in the front end.

When Call Now is clicked it calls the number automatically on any device but I want an alert box to show with a custom warning message first when the call Now is clicked then automatically calling. How to do that?

Help asap, please


Unfortunately, there is no simple solution for this; it will require a custom implementation. If customizations are required for your site, please try customizing it using the collection of code snippets Search · user:hivepress · GitHub and other developer resources, or consider hiring someone for custom work

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.