My rails app have a field where users can enter their contact number and I'm using tel: like this to display:
<%= link_to sample.phone, "tel:#{sample.phone}" %>
So if the user entered a number in the phone field like this: 0176-40206387
, the display will also be 0176-40206387
And if the user entered a number in the phone field like this: 017640206387
, the display will also be 017640206387
As a newbie, I do not know which format a mobile phone can call, or will the phone automatically converts the number to a callable number? If not, what correct format is callable to tell the user how to enter their phone number?