Announcements
Dear all,I have the following issue:
"<img src='https://api.qrserver.com/v1/create-qr-code/?data=BEGIN%3AVCARD%0AVERSION%3A3.0%0AFN%3A" & Name.Text & "%0AN%3A" & Office365Users.MyProfile().Surname & "%3B" & Office365Users.MyProfile().GivenName & "%0ATITLE%3A" & JobTitle.Text & ", " & Department.Text &"%0ATEL%3BWORK%3BVOICE%3A%2B" & Mobile.Text & "%0AEMAIL%3BWORK%3BINTERNET%3A" & Email.Text & "%0AURL%3Ahttps%3A%2F%2Fwww.google.com%0AADR%3A%3B%3B" & Address.Text & "%3B" & Office365Users.MyProfile().City & "%3B%3B" & Office365Users.MyProfile().PostalCode & "%3B" & Country.Text & "%0ATEL%3BWORK%3BVOICE%3A%2B" & Phone.Text & "%0AORG%3A" & Company.Text & "%0AEND%3AVCARD%0A&margin=0&size=550x550&qzone=4'>"​
Is there a way to keep "&" in the text label and use the code below as well?
Replace your & inside the text bits with %26
you can see in your url bits you already have things like %3A (its a colon)
You can find a list of URL encoding references here:
HTML URL Encoding Reference (w3schools.com)
Cheers,
Sancho
Thanks for a quick answer @iAm_ManCat - so in case the label includes "&", I'll just replace it with "%26", correct?
For example the end bit of your code:
"%0AEND%3AVCARD%0A&margin=0&size=550x550&qzone=4'>"​
becomes
"%0AEND%3AVCARD%0A%26margin=0%26size=550x550%26qzone=4'>"​
Thanks @iAm_ManCat for the help. I can confirm this is now working:
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 88
WarrenBelz 85 Most Valuable Professional
Valantis 45