Skip to main content
Solved

QR Codes

  • May 20, 2026
  • 0 replies
  • 188 views

Forum|alt.badge.img+1

Trying to get a qr code to print on a 4x6 label and I am using Exact Forms Plus and I have the following formula in my purchase order table under QR Code: 

"<img src=\"https://quickchart.io/qr?&size=150x150&text=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#]) & "\" />"

No matter how I have that formatted it does NOT change the size of the qr code as shown in the attached picture. Using that formula, the qr code does scan to the correct information. 

I had found a format on one of the help tutorials telling me that I needed to use this code in my template: ~=barcode(f[227],qrcode,150x150)~

 When I use that field in my template, it works perfectly and I can get the qr code to resize just the way I need it to at whatever size, BUT The code no longer scans.  It comes up to a google page searching for F(227).

Best answer by RoyWanyoike

Hello @AHaning I would suggest you create a formula richtext field and have the formula inside there. Then in the Exact Form Plus where you're embedding this just use the field id on the xxx field below([xxx])
~=barcode(f[XXX], qrcode, 200x200)~

I have done this before and  I was able to manipulate the height and width. Initially what you were trying to do it was being rendered as a string. Let me know how it goes.

Forum|alt.badge.img+11
  • Registered
  • May 20, 2026

If you want to make the QR code large, first increase the pixels size parameter in the img tag you have there 

"<img src=\"https://quickchart.io/qr?&size=150x150

For example's sake, change it to 750x750

"<img src=\"https://quickchart.io/qr?&size=750x750

This way your third party API, Quickchart, will generate the image in the higher resolution. Now you may need to add additional height and width tags to the image tag so it will display in proper resolution like so:

"<img src=\"https://quickchart.io/qr?&size=150x150&text=" 
& URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#]) 
& "\" width=\"750\" height=\"750\" />"

I added: 

width=\"750\" height=\"750\"


RoyWanyoike
Forum|alt.badge.img+13
  • Registered
  • Answer
  • May 21, 2026

Hello @AHaning I would suggest you create a formula richtext field and have the formula inside there. Then in the Exact Form Plus where you're embedding this just use the field id on the xxx field below([xxx])
~=barcode(f[XXX], qrcode, 200x200)~

I have done this before and  I was able to manipulate the height and width. Initially what you were trying to do it was being rendered as a string. Let me know how it goes.