NHMDenmark / Mass-Digitizer

Common repo for the DaSSCo team
Apache License 2.0
1 stars 0 forks source link

Barcode field is (incorrectly) accepting non-numeric values #386

Closed PipBrewer closed 11 months ago

PipBrewer commented 11 months ago

Barcode field should only accept numeric values (8 digits for NHMD vascular plants, 9 digits for NHMA and NHMD Entomology). Currently accepts non-numeric values: image

FedorSteeman commented 11 months ago

Fixed with https://github.com/NHMDenmark/Mass-Digitizer/commit/d2b54d6697e76c7694b9595270dfebe9c71b1b61

jlegind commented 10 months ago

Fixed by implementing validateBarCodeDigits() and validateBarCodeLength()