Page 1 of 2

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

Posted: Tue Jun 04, 2013 3:06 pm
by George Van Wormer

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?


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

Posted: Tue Jun 04, 2013 3:25 pm
by maxkatz

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

Posted: Sat Aug 23, 2014 12:38 am
by Harry Joubert

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


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

Posted: Sat Aug 23, 2014 12:52 am
by Alena Prykhodko

Hello Harry,

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


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

Posted: Sat Aug 23, 2014 1:10 am
by Harry Joubert

I can't get it right :-(


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

Posted: Sat Aug 23, 2014 1:14 am
by Harry Joubert

It only shows the first two digits of the number


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

Posted: Sat Aug 23, 2014 1:21 am
by Alena Prykhodko

Harry,

Please post the code that you use.


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

Posted: Sat Aug 23, 2014 1:26 am
by Harry Joubert

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


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

Posted: Sat Aug 23, 2014 1:31 am
by Alena Prykhodko

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


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

Posted: Sat Aug 23, 2014 1:41 am
by Harry Joubert

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?