sheltermanager

Open full view…

QR on passport

audraf
Wed, 09 Jun 2021 18:45:45 GMT

We have a form made in ASM I'd like to add a QR code of that form to our animal passports (so another ASM form). What's the best way to do that?

robinrt
Thu, 10 Jun 2021 11:13:00 GMT

You'd have to use an img with a URL to the google charts API to generate the QR for the form link. https://developers.google.com/chart/infographics/docs/qr_codes

audraf
Thu, 10 Jun 2021 20:58:30 GMT

Ok, I really do not understand what this means.

audraf
Thu, 08 Jul 2021 17:09:26 GMT

Is there anyone who can help with this?

robinrt
Fri, 09 Jul 2021 08:18:50 GMT

Follow the developers link above, it shows you how to construct an image URL to a QR code. You need to replace the Hello World in their example with the target URL to your form. Once you have that you can put an img tag in a raw markup type field on the form you want the QR code to appear. Eg: ``` <img src="https://chart.googleapis.com/chart?cht=qr&chs=150x150&chl=Hello+world" /> ``` That will output the QR code image in your first form.