Hi. If you have a single barcode question, there is no way you can tell if the data in it comes from the barcode scanner or manual input.
However, you could do this:
- Add a barcode question and set its appearance to minimal. This will remove the textbox so users cannot manually enter data in it
- Add a second text question and calculate it so it always shows the value from the barcode question
If the user scans the barcode, the text question will get data from the barcode. The barcode question will ALSO have the barcode data in it. That's how you can tell. If the user does not scan the barcode, manual entry will be needed and the barcode question will have no data.
Attaching an example for more clarity.