AnsweredAssumed Answered

OnObjectModify Script Trigger Loses Focus in Field

Question asked by jonro on Oct 22, 2014
Latest reply on Oct 29, 2014 by TSGal


OnObjectModify Script Trigger Loses Focus in Field


FileMaker Pro



Operating system version

OS X 10.10

Description of the issue

Certain script triggers, while ostensibly supported in WebDirect, have behaviors that make them unusable. Take OnObjectModify in a field, for example. OnObjectKeystroke is not supported, but if you want to trigger a portal filter based on user input, OnObjectModify is. The problem is that almost anything you do, such as Refresh Window to update a portal causes WebDirect to lose focus from the filter field, and you can’t get it back. I’ve tried Go to Field, Go to Object and Set Selection. None of them will get the cursor back in the field.

Steps to reproduce the problem

Should be evident.

Expected result

It should work as it does in FMP, where it doesn't lose focus.

Actual result

Can only type one character and cursor leaves the field.


No workaround, have to use script trigger OnExitObject instead.