Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

QR Code Integration

Avatar

Level 2

Hi Pros,

I'm trying to design a form and it contains some fields, the idea is whenever a user fill the form QR code will be automatically updated/ form data will be embded into QR code. Is it possible? If possible please guide me.

5 Replies

Avatar

Level 10

Hi,

Yes, it is possible. See the Paper Forms Barcode object in the Barcodes library:

Parallels Desktop1.png

However, please note that if the user has Reader, then for the barcode to work the form would first have to be Reader Enabled using LC Reader Extensions. Reader Enabling the form using Acrobat will not give sufficient privileges. See a summary here: http://assure.ly/etkFNU.

Deploy Options 04 - Barcodes.png

Hope that helps,

Niall

Avatar

Level 2

Boss,

Thank you for the quick response. I'm near to my task completion with your great help! One more thing I want to know that I also want to embed URL in the QR Code with the fields name(s). Once the user entered the form fields it have to embed into the QR Code like this one: http://www.sebcolaundry.com/services.php?name=randy&buildingname=ABC&street=hoboken&city=abad&state=...

I have attached my form but it is a sample, if there any JavaScript involved then please guide me because the actual form will be the same but fields name can vary. Here is the URL of my Form: https://docs.google.com/open?id=0B-Puiq68C7qaSVpjbHBIUnotVFU

Looking forward for your help.

Regards

Tufail

Avatar

Level 10

Hi,

It is possible to create a custom URL based on the user's inputs, but the issue is that the QR code will not be updated if the user has Reader and the form is either not Reader Enabled or only Reader Enabled in Acrobat.

So before looking at the form, the more fundemendal questions are:

  1. What will the user have to fill in the form? Acrobat OR Reader?
  2. Will you be Reader Enabling the form?
  3. If so, how will you be Reader Enabling the form.

Niall

Avatar

Level 2

Sir,

Form is reader enabled, I have tested it with Adobe Reader on multiple computers and it is updating QR Code whenever any field updates. I'm having the only issue is that how to embed URL int the QR Code, as I mentioned above.

Can you help?

Avatar

Level 10

Hi,

Anytime I alter the auto-generated script for the QR code, it goes grey when the script fires:

Parallels Desktop.png

Sorry but I don't have time to dig deeper into it at the moment.

Niall