I am trying to use
document.getelementbyid(elementid).focus to set the focus to a particular field of a particular occurrence.
I am building the elementid from
"ufld:my(new)field.<$entname>.<$modelname>:%%$instancename%%%.%%$curocc("<$entname>")%%%"
This seems to be working okay on the web page version in chrome, and on the android studio emulation, but on my actual android phone, it gets the field correct, but the occurrence is wrong.
Does anyone have any idea how I can identify the correct number to put at the end of the element id?
Regards,
Iain
------------------------------
Iain Sharp
Head of Technical Services
Pci Systems Ltd
Sheffield GB
------------------------------