Enable Scanning a QR Code and Bar Code

QR or Bar codes are everywhere: you can find them printed on the packaging of your latest gadgets, on business cards, included on presentations at conferences, and you can even see them painted on buildings. People and companies use them to store and distribute all kinds of information in a manner that is quickly accessible to anyone with a smartphone. QR codes are commonly used for holding data such as simple text, addresses, phone numbers, email addresses, URLs, links to apps, payments, etc. Now you know more about the importance of QR codes, which offer a neat way of storing data in a small space.

Do you want to get the data stored in a QR or Bar code onto the form fields? Do you have a scenario where your users need to scan QR or Bar codes while submitting a form? Is it possible to scan QR or Bar codes while submitting a form? The answer is Yes. The Effort form builder has been bundled with the Barcode/QR Code data type that allows you to scan any kind of Barcode or QR code. This tutorial lets you explore how to enable scanning barcodes or QR codes and also check how it works.
Note:

Scanning a QR code and bar code is available only when your users access a form from the mobile app.

Create a Form With Barcode/QR Code Data Type

In this section, we will create a sample form that is used to get new client details. In that, we will use a Barcode/QR Code data type where you can scan a QR code to get the client information.

  1. As a first step, we will create a form with the title Client Registration. Check out the Create a Form page to know how to create a form.
  2. Drag and drop the data types and label them as shown below.

    You can see the Address field added in the last. It looks similar to the text data type. When you access it from the mobile app, you can see a scan icon on the right extreme of the field's input area. It allows you to scan a QR code or enter an input manually.
  3. Enable publishing and Save the form.
    We have created a sample client registration form with a Barcode/QR Code data type that is used to get the client details. In the next section, we will check how it works in the mobile app.

Scan QR Codes in Mobile App

In this section, we will submit the Client Registration form in the mobile app and check how we can scan QR codes in the mobile app.

  1. Open the Effort Plus mobile app on your mobile.
  2. Tap on the Forms tab to go to the Form page.

    The forms page appears with all the available forms.

  3. Tap on the Client Registration form.

  4. Tap the plus icon located at the bottom of the page.

  5. Fill in the form fields.

  6. You can see the scan icon on the right extreme of the field's input area. Tap on it.

  7. You will be asked to download a Barcode Scanner app from the play store. Tap on Download Now button.

  8. You will be redirected to the Play Store. Tap on the Barcode Scanner app and install it.

  9. After successful installation of the Scanner app, again go back to the Effort app and again tap on the scan icon.

  10. The scanner app appears asking for access to Camera, Contacts, and Storage. Tap on Continue.

  11. Now the barcode scanner launches camera to scan the QR code.

  12. Scan the QR code properly. You will get the data stored in the QR code on the form field. You can see below, the Address field captures the address details stored in the QR code.

  13. Once you are done with the form filling, tap on the Save icon to submit the form. As mentioned in the introduction, not only address information, you can also copy any data stored in the QR code onto the form fields. It facilitates you to scan QR codes quickly and simply.