How is the focus put in the field that gets the scanned data?
The scan data is held in a portal, basically the user loads the form and clicks into the last portal row to the scandata field to get focus, a scan is made on the BT scanner with an appended <CR> and because of the <CR> FMGo tries to move to the next field triggering the on object validate script trigger.
The script that is run basically checks to see if there is a related barcode in the stock table it pulls info into the portal such as product name, weight and sets the default unit value to 1. It then moves to the next portal row and to the scandata field waiting to receive the next scan.
It makes no difference if I manually set the field focus before the scan or allow the script to set focus, both methods can give errors of missing first digit.
Ok in answer to my own post I have discovered the following.
The problem is present in FMGo 14 and FMGo 15, on iOS 8 (FMGO14 only, FMGO15 won't run on iOS8) or iOS 10 (both FMGO 14 & 15 give the problem)
FMGo 13.0.9 functions correctly regardless of iOS 8 or iOS10.
I will report the the problem.