Fields - QRCodes
You can dynamically inject QR codes into your documents. They can store text, URLs, or other information that can be scanned by mobile phones and scanners.
Last updated
You can dynamically inject QR codes into your documents. They can store text, URLs, or other information that can be scanned by mobile phones and scanners.
Last updated
You can add dynamic QR codes to your templates using the >
prefix.
Examples: {>companyLink}
, {>paymentLink}
.
QR codes are limited to 1,000 characters and 50 lines. If you exceed either of these limits, the QR code will not appear in the output document.
By default, the size of the QR code is determined by the amount of data it contains (more data results in a larger QR code). You can manually set the width and height, or limit the maximum width or height to preserve the aspect ratio using the "size"
and "maxSize"
formatters. We recommend not changing the size of the QR code to ensure readability. If needed, use "maxSize"
to constrain dimensions while maintaining quality.
Examples:
Once you upload your document template containing a QRCode tag (e.g., {>link}
), a corresponding text field will be added to the template form. Users can enter a value into this field, and it will be rendered as a QR code in the generated document.
How to pass QRCode data using Forms
By default, QR code fields are displayed as multiline text fields where you can enter the content to be included in the QR code. You can customize them just like any other text field.
How to pass the QRCode data using API
You can provide data for the QR code through the API. To include multiline text, use the newline character "\n"
.