4 Replies Latest reply on Sep 12, 2014 3:42 PM by philmodjunk

    Popup-Menu Fails to allow on Enter trigger to grab Field Value Prior to Modification

    filemaker@recordkeeper.com

      Summary

      Popup-Menu Fails to allow on Enter trigger to grab Field Value Prior to Modification

      Product

      FileMaker Pro

      Version

      13.0v3

      Operating system version

      OSX 10.9.4

      Description of the issue

      On Popup-Menu Objects the On Enter trigger fails to allow a script to function prior to modification.  If a user upon clicking a popup goes straight to a new value on the popup.  The trigger On Enter runs AFTER the modification is already made.  The On Enter trigger must occur before the change is made.  I have tested this over and over can reproduce easily that the get(ActiveFieldContents) function cannot grab the fields value before the edit is made.  If the user would click the popup and not make a change then make a second click to change it works but that is counter intuitive and makes triggers useless on popups for field modification tracking.

      Steps to reproduce the problem

      Create a Popup Menu
      Add a scriptTrigger onEnter which grabs the Get(ActiveFieldContents)
      Click the popup and choose another option on the popup

      Expected result

      The OnEnter trigger would trigger BEFORE a field value change and grab the original field

      Actual result

      The field value is changed then the OnEnter is run failing to allow pre edit script routine

      Workaround

      Have not found one