Page 1 of 1
Auto Tab in Mobile App on RF device
Posted: Mon Jan 09, 2017 10:03 am
by pjshuey
I have a mobile app running on an RF device and would like it to automatically go from one field to the next when the last position of the field has a value entered into it. It works perfectly if I launch it as an anonymous program from the designer, but does not work when launched from the mobile client on the RF device. I did add pui["auto tab"] = true; to our settings.js. Attached is the .json of my display file. Any help would be greatly appreciated!
Re: Auto Tab in Mobile App on RF device
Posted: Mon Jan 09, 2017 10:26 am
by Scott Klement
If your settings.js is in a subdirectory beneath the userdata/custom directory.... this is loaded automatically in some environments (such as anonymous programs) but it is not loaded automatically into the mobile app.
If you want to load the code in the settings.js file, you will have to use the "external javascript" property to load it, or some other similar means. It won't happen automatically like it does on the PC.
Re: Auto Tab in Mobile App on RF device
Posted: Mon Jan 09, 2017 10:43 am
by pjshuey
Thanks! That fixed it if I type in the value. If I scan it, it does not work. I am thinking that is a scanner issue, not a Profound issue. Am I correct in that assumption, or is there something I can set within Profound to fix that?
Re: Auto Tab in Mobile App on RF device
Posted: Mon Jan 09, 2017 10:45 am
by Scott Klement
How are you scanning?
Re: Auto Tab in Mobile App on RF device
Posted: Mon Jan 09, 2017 10:47 am
by pjshuey
I am using a Zebra TC8000.
Re: Auto Tab in Mobile App on RF device
Posted: Mon Jan 09, 2017 11:27 am
by Scott Klement
I'm not familiar with this device, sorry.
If the scanning process simulates keystrokes in a way that triggers the app's keyboard events, then the "auto tab" should work. If it does not, then it won't.
Re: Auto Tab in Mobile App on RF device
Posted: Mon Jan 09, 2017 11:34 am
by pjshuey
Thanks for the help. We are halfway there....I have someone looking into the scanner and how to fix it on the hardware end.