try using Exit Script [result = 0]
a script trigger by definition is attached to an action, an action that completes running even after you run a script. EG onObjectEnter will still go to an object, even if the last step of your script goes to a different object.
By exiting the script with a false/0 result, you tell filemaker NOT to continue with the action that triggered the script to begin with.
Hope this helps.
It would be helpful to post the script you are using. Try adding these two lines to the end of the script:
Halt Script turned out to be the best option.
Exit Script [False] did not work (I had already tried that).
Go doesn't always act like Pro.
Popups for instance hang around but in Pro they close.
So, I do a reset of the tab order and clear everything. Now I tell it what I want to tab to next.
NOTE: I would remove popups and popovers from the tab order.
If I am in field A, where do I want to go if I tab? This is important in GO.
Also, some fields need to be set so that tab, enter, etc. do not exit the field. These are options in the inspector.
You can also consider telling FileMaker what to do next.
Perform script xxxx <-- this script goes to another layout and returns here
GOTO FIELD xxxx
GOTO OVJECT xxx
Go does not have all of the tools of PRO nor does it match Pro in every action.