Generate QR code for every submission to view specific submission.

  • gtasafety
    Asked on December 5, 2023 at 1:50 PM

    We need to generate a unique QR code from forms submitted through our Emergency Contact Form so that this information can be scanned and viewed by others.

  • Rene JotForm Support
    Replied on December 5, 2023 at 8:19 PM

    Hi gtasafety,

    Thanks for getting back to us. If I understood correctly, you want to create a QR code for each submission that would open it in Jotform Inbox.

    You can achieve that by adding the QR code to the Autoresponder Email, which you can send to the user. The user can then show the QR code from the received email to your staff and they can scan it. Here is the code that you should add to the Source Code of your Autoresponder Email:

    <img src="https://chart.googleapis.com/chart?chs=150x150&amp;cht=qr&amp;chl=https://www.jotform.com/inbox/{formID}/{id}&amp;choe=UTF-8" alt="Your unique QR code" width="150" height="150" />

    You will need to replace {formID} with the ID of your form. In the example, you previously provided ID of your form is 233378320954157. In the Autoresponder Email, open the source code, remove all existing code, and add the code provided above.

    1666255976 63510c689f1df qrcode Screenshot 10 Screenshot 20Generate QR code for every submission to view specific submission Screenshot 31

    Note that the QR code cannot expire after one use.

    Give it a try and let us know how it goes.

  • gtasafety
    Replied on April 17, 2024 at 9:56 AM

    Good morning, our QR codes were working for a while, but now they will not show up in our Outlook e-mail when we are notified. We have checked all settings in our Outlook and IT seems to think it is an issue with JotForm. Could you please advise?Generate QR code for every submission to view specific submission Screenshot 20

  • Aravir JotForm Support
    Replied on April 17, 2024 at 11:02 AM

    Hi gtasafety,

    Thanks for getting back to us. I checked the Notification Email of your form and the syntax in the source code of the QR code is not correct. Checkout the screenshot below:

    Generate QR code for every submission to view specific submission Screenshot 50

    Please replace the code with the code below:

    <img src="https://qrcode.tec-it.com/API/QRCode?data=https://jotform.com/submission/{id}" alt="Your unique QR code0" width="150" height="150" />


    • In Form Builder, in the orange navigation bar at the top of the page, click on Settings.
    • Select Emails on the left side.
    • Hover your mouse over the Notification Email and click the Pencil icon.  Generate QR code for every submission to view specific submission Screenshot 61
    • Click the Source Code icon and delete the code that generates a QR code.
    • Replace the code you're currently using with the code I shared above and click on Ok.
    • Then click on Save. Generate QR code for every submission to view specific submission Screenshot 72

    Checkout the screencast below to see my result:

    Generate QR code for every submission to view specific submission Screenshot 83

    Give it a try and let us know if you need any help.