AnsweredAssumed Answered

OnObjectExit Forking Depending on HOW the Object Is Exited

Question asked by richardsrussell on Dec 15, 2013
Latest reply on May 16, 2014 by IanJempson

There are 3 main ways to exit a field:

tab out of it

• press enter (or click outside an enterable area) to commit the record as a whole

• click in some other field

 

If I'm just sailing along, entering data, and I want to tab out of a field into another one, ObObjectExit works just fine. I've got it set up to interrogate the contents of the field to determine where to go next.

 

But what if I don't want to tab out of it but instead click elsewhere? Or press enter to exit the entire record? The triggered script fires anyway, and I don't get the results I want. How can I get this tirggered script to fire only when the exit method is a tab keystroke?

 

FMPA 12 on a Mac.

Outcomes