Hi Community,
I am trying to embed a phone number within the text of the Disclaimer Page (aka Access use and Constraints text box). I have located the licenseInfo text that the disclaimer page is reading and noticed it is html. I have added my custom text and have inserted
<a href="tel:5556667777">555-666-7777</a>
inside of the HTML code (see full example below.
"licenseInfo": "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" font-family:'Avenir Next LT Pro'; font-size:14.5pt; font-weight:400; font-style:normal;\">\n<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Please contact 1-866-testing (<a href="tel:8665557777">866-555-7777</a>)if you know the name of this song.</p></body></html>",
However, the app crashes when I go to click on the link. What is the problem with this code? This should be how this works for HTML code.
Thank you,
Dustin
Where are you using this in AppStudio app? Which template?
Do you have code to handle the "tel:"? You can look at the sample of this in Quick Report template, QuickReport/pages/LandingPage.qml line 400
Thank you,
Erwin