I can not only confirm this, but can expand on it.
I've tried a number of different trigger options including Object modify and Record Commit. Not once could I get a script to trigger when using drag and drop to modify a field's contents.
Using Windows XP, SP3
Be careful here. OnObjectSave never triggers when you just type data into a field.
If you want to trigger scripts when you type data in a field, you'll have to use on ObjectModify().
Dragging into a non-active field is not triggering on ObjectModify(), but that is documented behaviour.
Workaround: use an AutoEnter calculation with a DoScript() trigger.
It would be nice though if FileMaker would add OnDrop() script triggering support.
OnObjectSave never triggers when you just type data into a field.
However, I tried this test and was supprised when On Record Commit for the layout didn't trigger the script:
In a list or table view layout set with On Record Commit to trigger a simple show custom dialog script, drag text from a field in one record to a field in a different record. Since the contents of the target record have changed, there should be a record commit event to trigger the assigned script. But no such event triggers the script, even when you click on different parts of the layout background on different records.
I suspect that this is because the drag and drop operation doesn't change the current record from the source record to the target record. Since the source record isn't changed, no commit event happens on that record and apparently that avoids triggering the script. This makes sense as any triggered script would execute in reference to the current record.
However, I tried this test and was supprised when On Record Commit for the layout didn't trigger the script
This isn't true for me and with exactly your example.
1) Make the script to show a custom dialog with: Field2
2) Drag from Field1 to Field2 and commit the record cliking on the Form.
The script fires and the custom dialog shows the Field2 content.
I was dragging a value from a field in one record to the same field in another record. If you drag from field to field on the same record, then the script trigger performs the designated script as expected.
Thank you for your post.
I am able to duplicate the problem using OnObjectEnter, OnObjectKeystroke, OnObjectModify and OnObjectSave in the script trigger. I have forwarded your information, as well as my findings, to our Development and Software Quality Assurance (Testing) departments for review and confirmation. When I receive additional information, I will let you know.
"Thank you" to everyone else for your findings and comments.