OnObjectExit script not working in FM Go
Operating system version
Description of the issue
OnObjectExit triggered script in filemaker 12 advanced assists in validating the data entered in a field. When moving the database to FM Go, the script no longer triggers on field exit, but the script is present and when run manually in FM Go will return the correct validation.
Steps to reproduce the problem
create this script on a number field in FM:
If [ Mod ( Table::Field ; 0.5 ) ≠ 0 ]
Show Custom Dialog [ "number should end in 0 or 0.5" ]
Exit Script [ Result: False ]
Install the db on an iPad with FM Go and attempt to enter a number that violates the rule (e.g., 12.3) into the field. Exit the field.
Alert user that the data entered ends in a number other than 0 or 0.5
In FM Go, nothing happens upon field exit or at any other time automatically. The only way to trigger the script seems to be to Touch the gear icon, select settings -> perform script and trigger it manually.
Exact text of any error message(s) that appear
The next field entered is a drop down list; I have seen that script triggers in fields with drop down lists perform incorrectly on FM Go; in this case the script is in the previous field so it should trigger before the drop down list appears.
As PhilModJunk suggested, using OnObjectValidate performs the desired behavior on FM Go.