Keystroke Trigger for return keys

Discussion created by RayGerman on Apr 7, 2016
Latest reply on Apr 7, 2016 by erolst

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.


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


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,