Documentation
  • Welcome to Documentero Docs
  • General
    • Usage Limits and Quotas
    • Manage Account & Plans
    • Documentero Roadmap / Changelog
    • Privacy Policy
    • Frequently Asked Questions
  • templates
    • Templates Introduction & Tutorial
    • Template Upload/Re-upload
    • Organize Templates into Folders
    • Fields
    • Fields - Images
    • Fields - QRCodes
    • Fields - Links
    • Fields - HTML Support
    • Fields - Markdown Support
    • Fields - Mermaid Support
    • Fields - Formatters
    • Sections
    • Sections - Types & Options
    • Smart Fields
    • Smart Sections
    • Template Variables
  • Charts & Diagrams
  • Forms
    • Create Documents using Form
    • How to customize document form
    • Fields/Sections - General Settings
    • Field- Types & Options
      • Field - Multi Checkbox
      • Field - Checkbox
      • Field - Radio Button
      • Field - Datepicker
      • Field - Radio Select
      • Field - Select
      • Field - Multiline
      • Field - Number
      • Field - TextField
    • Conditional Fields & Sections
    • Shared Forms
      • Sharing Forms
      • Shared Form Configuration
      • Consent Form (GDPR)
      • Embeed & customize shared form on your website
  • Spreadsheet
    • Create Documents using Spreadsheet
  • API
    • Create Documents using API & JSON
    • Integrate with Documentero Cloud API
  • ChatGPT
    • Create Documents using ChatGPT
  • Integrations
    • Zapier
    • Make.com
    • Integrately
    • Pabbly Connect
    • Albato
    • Bubble.io Plugin
    • Webflow
    • Flutterflow
Powered by GitBook
On this page
  • Adding a dynamic QRCode to document template
  • QRCodes data limits
  • QRCode Size
  • How to pass data for QRCode
  1. templates

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.

PreviousFields - ImagesNextFields - Links

Last updated 22 days ago

Adding a dynamic QRCode to document template

You can add dynamic QR codes to your templates using the > prefix. Examples: {>companyLink}, {>paymentLink}.

QRCodes data limits

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.

QRCode Size

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:

{>qrcode}
{>qrcode2 | maxSize:300:500}

How to pass data for QRCode

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".

Template that contains QRCode fields
Output document with generated QRCodes based on passed data