I have a numeric entry field (field 1) in vision that takes a barcode scanner input. I configured that field to have focus. However, every time a new barcode value is entered it keeps added to the previous value!!
So for example, if my previous barcode value is 1234 and my new barcode is 5678, what I have in field 1 as a new barcode is 12345678. So when the barcode enters new value, I want to be able to store 1234 in another field (field 2) and then empty out field 1 for new barcode values.
Any idea how this can be done?
I have this script for focus on value change of field 1, I am guessing I have to add writeblocking script and empty out a script in the same property change section, correct?
if event.propertyName == "longValue": event.source.requestFocusInWindow()
Appreciate any information!