XF 1.5 Custom User Field - Telephone - Tap to call?

Mouth

Well-known member
I've added an Custom User Field with title 'Phone Number' of type Single-line text box with regex of...
Code:
[\\d() +-]+
...to allow both numerics and dashes, brackets, plus symbol etc.

For output HTML I'd like to make this field hyperlinked with a "tel:" prefix/scheme so that mobile/cell device users can simply tap it to commence a call.

Can I achieve this with an CSS, or perhaps using the PHP Callback functionality on the item config?

Screen Shot 2017-07-07 at 01.21.50.webp
 
Top Bottom