Add validation to Barcode card