George Van Wormer
Posts: 0
Joined: Tue Jun 04, 2013 3:06 pm

How to link a button to a phone number. click to call

Want to be able to link a button to click to call a phone number. Have tried a rel="nofollow"Call (555)123-4567/a but haven't gotten it to work.

Any ideas?

Harry Joubert
Posts: 0
Joined: Tue Aug 19, 2014 3:27 pm

How to link a button to a phone number. click to call

Max,
Your example shows 10x "9's" That frustrates me. Does it include an international dialling code or not? I've tried all combinations, but no luck.
Am I just stupid or what?
HarryJ

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How to link a button to a phone number. click to call

Hello Harry,

This is standard launching the native dialer method, you just need to use correct international dialing code http://devcenter.appery.io/documentat...

Harry Joubert
Posts: 0
Joined: Tue Aug 19, 2014 3:27 pm

How to link a button to a phone number. click to call

I can't get it right :-(

Harry Joubert
Posts: 0
Joined: Tue Aug 19, 2014 3:27 pm

How to link a button to a phone number. click to call

It only shows the first two digits of the number

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How to link a button to a phone number. click to call

Harry,

Please post the code that you use.

Harry Joubert
Posts: 0
Joined: Tue Aug 19, 2014 3:27 pm

How to link a button to a phone number. click to call

The phone number is 0733117358 and it's in South Africa, so the international code is +27

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How to link a button to a phone number. click to call

As you can see from screenshot http://prntscr.com/4fioyu/direct it works.
Please run this code for Android:

prewindow.location.href = "tel:+270733117358";/pre
or iOS
prewindow.open('tel:+270733117358', '_system');/pre

Harry Joubert
Posts: 0
Joined: Tue Aug 19, 2014 3:27 pm

How to link a button to a phone number. click to call

Thank you Alena, but you're dealing with a dummy here.
Exactly where do I paste this code in? Is it EVENTS, then SELECT ACTION. If so, what do I then click in the dropbox?

Return to “Issues”