Notifications
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?
Thanks @iAm_ManCat for the help. I can confirm this is now working:
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 for a quick answer @iAm_ManCat - so in case the label includes "&", I'll just replace it with "%26", correct?
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
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Kalathiya 428
WarrenBelz 374 Most Valuable Professional
MS.Ragavendar 333 Super User 2025 Season 2