This topic is locked

Calling Phone Number Button - When Viewing Record

4/14/2024 7:01:28 AM
PHPRunner General questions
J
jonesc author

Hi

Hopefully someone has done something simiar to this, as im learning the ropes of buttons in PHPRunner.

So far it is proving to be an excellent experience migrating some old basic databases created in another platform.

I have added a button to the edit page called 'Call Number' which I would like to call the number from the displayed record - so getCurrentRecord should work.

The number is stored in a table called quotes in a field called mobile_number

When the button is clicked code like this will work to call the number

tel:07415123456

Essentiallty what I need is for this action to be done when button is clicked - which would add the value from mobile_number filed after tel:

tel:mobile_number

Anyone done anything similar thats worked :-) ?

jonesc

Spider Webster 4/22/2024

You shouldnt need to do anything just tap the phone number. you can do it with your post above.