Does a scanned field override the field's validation?

We have the following validation in place on a scannable field. The user scanned a barcode into the field and it looks like a period was generated but the field allowed it to be saved.

Does a scan override the fieldโ€™s validation or is there a validation expression problem?

Solved Solved
0 12 243
  • UX
1 ACCEPTED SOLUTION

Just wanted to update the post with the implemented solution: I added the following to the validation expression:

NOT(CONTAINS([_THIS],".")),

AND(
LEN([_THIS])=10,
NUMBER([_THIS])>0,
NOT(CONTAINS([_THIS],".")),
NOT(IN([BIN Barcode],SELECT(Collection[BIN Barcode],
AND(NOT([collection_id]=[_THISROW].[collection_id]),
[route_id]=[_THISROW].[route_id]))))
)

View solution in original post

12 REPLIES 12
Top Labels in this Space