Thank you for your post.
Let me know your exact script steps so I can replicate the issue. If you have a clone of the file I can use, even better. If you want to go that route, check your Inbox at the top of this page for instructions where to send a sample file.
I received your files. Thank you.
The second file needs to select the portal and then select the field. Since you are using OnObjectExit, the script runs before the action, so the tab continues afterwards. That is why the cursor goes to the first field. Include a Halt Script step in the script to nullify the tab.
The same applies to the third file.
I have forwarded the two files to our Technical Support contact, so you should receive the files shortly. If you do not receive the files within one hour, please let me know, and I'll make sure the files are sent to you immediately.