Hi,
I have been reading and watching many different tutorial videos and I still can't find a way to do what I want with my app.
What I would like to do is have an main excel spreadsheet that will keep track of the serial numbers for our product, and what locations they have been installed in. They all come with a barcode (or several) that I would like to be able to simply scan into the app and be entered into a form field. Currently I have a Gallery setup that will display any scanned barcodes, but my problem is how I get that data into a text field.
1) In the example below I would scan (3) different barcodes on the product. They would be Part number, serial number, and lot code. I would like to be able to "highlight" or "select" the correct item in the gallery, then copy it into the proper form field.
Datacard Default Value

Button Onselect

I have been messing around with copying variables, creating collections, but I just can't seem to get the data into the data card value. I have tried individual buttons (as indicated above), but it seems to break by gallery from loading all the barcodes. However I just can't I know I could use a copy function on the gallery to copy to the clipboard, but I don't want users to have to hold down their virtual keyboard and paste the item. I would like this to be as quick as possible.
2) I am also trying to build a "running" collection of data. So that when a user types in a value to "Facility" or "Job Number" it will remember those values so long as the app is open. For example if I input a value for "office" in the facility text box and submit that form, then next new entry I open I can start typing "O" and it would populate a value similar to predictive typing. Or if that isn't possible, even just remembering the last value, which I am sure is possible with a global variable?