There may be times you want to create a list of barcodes that are scanned by the user through a form.

One way to do this is to have a simple form design that contains a single barcode field, as well as a data source field. The data source field would link to an existing data source where your barcode scans are collected. The user would then capture a separate form entry for each barcode, uploading them individually, and therefore creating a new row in the linked data source each time. 

See our article on 'Creating/Updating Rows in a Data Source' for details on how to bind your Barcode field to a Data Source column.

Another, even faster, way to do this is to use a repeating page to continuously capture all barcodes. Once the user is ready they can upload all barcodes as part on one form entry.

To do so, follow these steps:

  1. In the form design, add a page which is set to be Repeating.
  2. Add a barcode field into the repeating page.
  3. Click on the barcode field you just added. In the properties list on the right, click on 'On Scan Action'.
  4. Choose 'Jump to Form Location' from the scan action list.
  5. In the 'Target' dropdown, choose 'Add New Repeat/Row' from the list.

Now, every time a bar code is scanned, the app will store that barcode in the barcode field, and will automatically create and move the form display to a new repeat of the page, ready for the next scan.

To save even more time, you can enable the 'Show Inline' option found on the barcode field in the form designer. This will display a live camera preview which will scan barcodes without the user needing to press the 'Capture Barcode' button each time.

Did this answer your question?