We have a user requirement which includes the use of barcode readers to do input into a textbox widget. The barcode reader adds a “tab” character at the end of the converted barcode data.
Questions:
Is there a way to strip the added “tab” character (eg. Javascript)?
After the input is stripped of the extra character, is there a way to set focus to another textbox widget? I know there is a focus property but the goal is to do all the barcode entry to multiple textbox’s and not return to the RPG program each time.
var x = pui.get("the-id-of-the-textbox");
... code here to strip chars from x ...
pui.set("the-id-of-the-textbox", x);
After the input is stripped of the extra character, is there a way to set focus to another textbox widget? I know there is a focus property but the goal is to do all the barcode entry to multiple textbox’s and not return to the RPG program each time.
Perfect. I knew these functions but just couldn't get my mind around using them in this context. Got caught up more in the requirements than focusing on what solutions are available.