How to display different text with the barcode I scanned?

Hello,

Is there a way I can display something different when I scan a barcode? Which means that when I scan a barcode, it shows a 12 digits number, but I would like to display something else instead of the 12 digits number when using ODK.

Thanks.