2 Replies Latest reply on Apr 7, 2016 2:10 PM by erolst

    Keystroke Trigger for return keys

    RayGerman

      Hello Everyone,

       

      I am really just beginning to get into triggers and calculations... I have a good idea of where I want to go... its just getting there thats the challenge

       

      I have created a simple popover with a single field in it.

      popover.png

      I placed a script on the field which gets triggered when the user enters Return or Enter on their keyboard. The script then

      1. Copies the data entered into NewTypeEnter into the field Manufacturer
      2. Clears the field NewTypeEnter
      3. Then goes to the Field Items

      keystroke.png

      The script works but when the script goes to the Items field in is passing on the Enter/Return

      extra return.png

       

      Is there any way to prevent the extra return from carrying over to the items field?

       

      On a side note the script does not seem to work at all in WebDirect... Im guessing this is a common issue.

       

      Thanks in advance,

      Ray