if (name_pieces[3] == 'barcode') {
                $(this).on("input", barcode_check_fn);
                // Since we clone the input, we need to trigger to clear its coloring
                $(this).trigger("input");
            }