I am trying to create an Adobe form for use in a mailroom for package tracking numbers. The person using the form will utilize a barcode scanner to receive packages from all different carriers (FedEx, UPS, USPS etc)
In addition, if there is a way to use part of the number sequence to identify between FedEx Ground and FedEx Express, that would be awesome
The question is whether the scan process triggers the normal events that are triggered when entering a value into a field.
If so, you can do it using this code as the field's custom calculation script:
if (event.value) event.value = event.value.substr(-12);
What do you mean by normal events? The plan is that the scanner will input the numeric sequence of the barcode followed by a tab key to advance to the next field.
Just try it and see if it works.
It worked perfectly, thank you