If, after scanning in the person barcode, someone scans a bad barcode (they scan their card again or a barcode that is not allowed on that day) the form reports an error and but the barcode stays in the field. A subsequent scan does not erase the barcode but just appends to the bad barcode making it even more eroneous.
I find that adding some jquery right after the focus is shifted can clear this field without creating more problems.
I attach a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| ucount_barcode.js_.diff | 1.12 KB | ehowland |
Comments
Comment #1
ehowland commentedThe ps2 driver replaces the field when it does the decoding so this is only important for USB CueCats, defanged CueCats and presumably other scanners.
Comment #2
Anonymous (not verified) commentedComment #3
ehowland commentedThis has been fixed for a long time, closing