Willie Sims
Posts: 0
Joined: Wed Jul 10, 2013 4:37 pm

call button reading from database list

Hello I have tried using the examples from the forum and none seem to work or at least not right
I have a list of phone numbers and websites that are being populated from the database I have a collapsible container for each contact name and in that container a call button and label with the contacts information. the list will populate currectly. each block showing the contact and inside the block the contact information in each label.
So as example
Joe
Expanded Block
Phone Number
Call Button (javascript on click event)
Web Address
Email Address
I have tried two methodes to be able to call a number listed
the one that works partly is
window.open('tel:' + Apperyio('call').text(), '_system');
The problem is it will only try to call the phone number in the first container, so even if I click call in the Sam contacts list it tries to call Joe in the from the first block
What am i missing

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

call button reading from database list

Hello Willie,

Please look at this tutorial how to use master-detail page: https://devcenter.appery.io/documenta...

You have to use the same functionality - write a phone number to the list item's attribute in the mapping and read it on the click event of that component

Return to “Issues”